Hi all, I am struggling with the following:
Environement:
VB.NET 2005
TreeView Control
SQL Database
I need to be able to save a TreeView's nodes into a SQL database and
then be able to call them from the Table back into the TreeView when
the app starts up. (If the table is empty, then just exit the sub)
The structure of the TreeView will be something like this.
ParentNode
--childNode1
--childNode2
--childNode3
ParentNode2
--childNode1
--childNode2
ParentNode3
--childNode1
The Treeview will only have one level of children nodes for each parent
node.
So my question is, how should I format my table to save this data and
are they any code samples to show me how to do this?
Any assistance would be greatly appreciated.