I'm currently writing a VB.Net 2005 application on the Dot Net Framework 2.0. I have a Dataview with about 800 records that I use to poulate a treeview with. Each record in the dataview represents a node in the treeview. A record can either be a parent node or a child node of another node.
Currently I populate the treeview by adding the nodes one at a time. After adding a node, I filter the dataview to get all the child nodes of the node just added. I then add them one by one and for each of them filter the dataview again to get the next set of child nodes.
Someone told me that it is possilble in .Net 2 to bind such a dataview to a treeview control if you have all fields that indicate which records are children of which records... Is it possible? How could I do this?
If required, I could post the structure of the table....