Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i need to search a node by text or name property, the node may be child,parent or grandchild . after finding node i want to insert a node under that node in vb.net treeview anybody help me
Posted

1 solution

VB
Dim MyNode() As TreeNode 
MyNode = TreeView1.Nodes.Find("Item1", True)
MyNode(0).Nodes.Add("SubItem1")


check http://stackoverflow.com/questions/9963870/vb-net-how-to-add-a-child-node-to-a-specific-node-in-treeview[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900