How can I fill treeview with visual.net from db (access) -
how populate treeview control in visual basic (vb.net) db (access)
that depends on data. in general, need create treeview first , populate nodes. did in c# once similar vb. documentation of microsoft quite helpful. in c# start this:
var mytreeview = new treeview(); mytreeview.nodes.add("root");
this create treeview 1 node. nodes
property list of child nodes. every treenode
has property, can use combined indexing select node want. f.e. mytreeview.nodes[0].nodes.add("child")
add child node root node.
Comments
Post a Comment