Basic TreeView Databinding

  • Thread starter Thread starter Jonathan Miller
  • Start date Start date
J

Jonathan Miller

Hello All,

I have a table of objects that I want to put in a treeview through databinding. I have 3 fields, the first in the PrimaryKey (int), the second is the Name (string), and the third is the ParentID (pointing to the node of the parent). The top node in the tree has a parentID of 0. Any ideas on how to databind this into a treeview? I have no experiece vb.net databinding, any examples or suggestions would be helpful! Thanks again!

Sincerely,

Jonathan Miller
 
Hi,

The treeview does not support databinding. Here is a sample on how
to load the data into a treeview.

http://support.microsoft.com/default.aspx?scid=kb;en-us;308063

Ken
--------------
Jonathan Miller said:
Hello All,

I have a table of objects that I want to put in a treeview through
databinding. I have 3 fields, the first in the PrimaryKey (int), the second
is the Name (string), and the third is the ParentID (pointing to the node of
the parent). The top node in the tree has a parentID of 0. Any ideas on how
to databind this into a treeview? I have no experiece vb.net databinding,
any examples or suggestions would be helpful! Thanks again!
 
Back
Top