TreeView
Visual Basic
3
Posts
3
Posters
0
Views
1
Watching
-
I'm new to VB,anybody can tell me how to add items(root,and child) to a TreeView control? thanks:confused:
TreeView1.Nodes.Add , , "root", "Root Node"
TreeView1.Nodes.Add "root", tvwChild, "child1", "Child 1"
TreeView1.Nodes.Add "root", tvwChild, "child2", "Child 2"
TreeView1.Nodes.Add "root", tvwChild, "child3", "Child 3"
TreeView1.Nodes.Add "root", tvwChild, "child4", "Child 4"
TreeView1.Nodes.Add "child3", tvwChild, "child3.1", "Child 3.1"Also, try looking on MSDN, it will tell you a lot more. -- David Wengier Sonork ID: 100.14177 - Ch00k
-
I'm new to VB,anybody can tell me how to add items(root,and child) to a TreeView control? thanks:confused:
I have one: http://www.codeproject.com/useritems/ASPTreeView.asp :) Fernando Finelli