How didn't I think of that?
Thanks a lot!
User Profile
Collapse
-
How do i get all the children nodes text from a treeview?
I am trying to get the text for each node in an existing Treeview control- including all children nodes.
I can get all the parents names (text), but not the children's..
This works for me to get the Parents text:
Code:foreach (TreeNode tn in treeView1.Nodes) { richTextBox1.AppendText(tn.Text); }
No activity results to display
Show More
Leave a comment: