ayozzhero
Well-known member
Let's say I've loaded a treeview like this:
Let's say I want to add a child to A11. I can do it by: nodes(0).nodes(0).nodes(0).add("text"). I've tried to make it simpler by doing something like:
It just doesn't work. Can anyone guide me how to accomplish this. If possible, I want to identify a node by its ID or name, and then start adding child(s) from there.
Thank You
VB.NET:
- A
|-A1
|-A11
|-A12
|-A2
|-A3
Let's say I want to add a child to A11. I can do it by: nodes(0).nodes(0).nodes(0).add("text"). I've tried to make it simpler by doing something like:
VB.NET:
Dim tNode as New Treenode
tNode = myTreeView.Nodes("A11")
tNode.Add("text")
Thank You