[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1306
  • Last Modified:

Bind a Winforms TreeView Control to a datasource?

Does the latest and greatest version of VS 2005 permit the binding of a standard Treeview control to a datasource?   I have two tables, batches and labels, each batch in one table has a unique batch number and can "contain" an unlimited number of labels from the second table, and there is a foreign key on batchno between the two tables.
The tree should allow for both navigation and update, so it will be constantly changing while the user is working.   What is my best approach -- XML, List Of DataObjects, DataSet, or the hard way...iterate through the dataset and repopulate the appropriate nodes, or some other approach I have not even thought of?
(NOTE: I do not know if I would be permitted to use a third party tree or not -- my  boss requires special permission for that.)
1 Solution
codefingerAuthor Commented:
Nuts.  Not the answer I was hoping for...  )-:    
But at least I  can be sure I have not overlooked anything.  Thanks.

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now