HI, iv spent many hours trying to figure out how to loop through the child nodes of a node i have currently selected in a treeview control. For the life of me i cant figure it out.
I thought it would be a case of:
For each ChildNode in SelectedNode.Children
'Do required stuff here
Next
But that doesnt work
Has anybody got a simple example or any help at all really?
Thanks in advance.
I thought it would be a case of:
For each ChildNode in SelectedNode.Children
'Do required stuff here
Next
But that doesnt work
Has anybody got a simple example or any help at all really?
Thanks in advance.