how to use treeview in VB.NET?
'node
Dim nod As Node
Set nod = TreeView1.Nodes.Add(, , "root", "Customers", "msn")
nod.Expanded = True
I tried this code but it already doesn't work in VB.NET.
Kindly help me?
Printable View
how to use treeview in VB.NET?
'node
Dim nod As Node
Set nod = TreeView1.Nodes.Add(, , "root", "Customers", "msn")
nod.Expanded = True
I tried this code but it already doesn't work in VB.NET.
Kindly help me?
VB Code:
Dim nod As TreeNode = treeview1.Nodes.Add("Customers") nod.Expand()
how to add a child node?
VB Code:
Dim nod As TreeNode = treeview1.Nodes.Add("Customers") nod.Expand() 'add a child Dim child As TreeNode=nod.Nodes.Add("Edneeis") child.Expand()