Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Binding hierarchal data to the TreeView?

Status
Not open for further replies.

qsysoper

Programmer
Mar 20, 2003
7
US
Does anybody know how to bind the treeview control in .net to hierarchal data so it is displayed corectly without having to write all the code manually?

I havn't been able to fugure out any complex databindings available for that thing yet. It seems only the combobox and listbox have any built in complex bindings so far.

Thanks
 
There's a Microsoft Knowledge Base article regarding populating a tree view from XML data - might be a place to start (article ID: 308063)
 
After reading that article I think the answer is no. You have to write all the code manually to populate the sucker, no easy way out. Oh well.

Thanks for the help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top