Retreiving from a treeview

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Does any one have a sample how to go to a parent node
and then retreive all the children nodes info for that particulir parent.

Example you have products as a parent tree
then you have sales for that particulair product in the child tree.
for each product I would like to retreive all the sales Info dates in
particulair.

The tree is loaded But I need a way to retreive.
 
It is really quite simple.

The treeview has a Nodes collection. Those are the children of the the
treeview.

Then each node (child) has a Nodes collection which is the children of the
child.


and so on and so on.

so kinda (unchecked , don't want to take away all the fun)

for each nod as node in treeview1.nodes
for each nd as node in nod.nodes
... do something
next
next
Lloyd Sheen
 
Back
Top