Treeview (Really basic)

J

JayC

hello all,
New programmer to the .net world.

I am working with VS.net 2005 using VB.

So here goes.
I am trying to figure out how the treeview control works from a programming
perspective. I know how to populate it manually with the control properties.
my question revolves around the use of the Node method creating Root-parent
and the children of the parent.
for example
Country (Root)
US (parent)
States (Child)
Ohio (Sub child)
cities
Akron
cleveland
NY
Cities
Hamburg

in sudo code.
Sub
Create the tree object.
go to the root node and populate it.
if root is expanded create the parents
if a parent is expanded create the appropriate children
Endsub

Most of my questions revolve around understanding how to traverse the nodes.

thanks for anyones or everyones help
JayC
New to the .net world.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top