How to Store Treeview data into dataset

  • Thread starter Thread starter Nicholas Paldino [.NET/C# MVP]
  • Start date Start date
N

Nicholas Paldino [.NET/C# MVP]

Inpreet,

Since tables are not heiarchical data structures, you are going to have
to fake it. Basically, you will have an id on each record for each tree
node, and a parent id. The parent id will be populated with the id of the
node that is the parent of the current one.

Of course, you also add any details you wish to the node (e.g. text).

Hope this helps.
 
Hello,
I am working on Treeview control. I want that, user create tree according to
his requirement, can add topic under any node.

Then just click update and that treeview data to be stored in MSAccess
database. I already created how can he build tree but now unable to store
tree data into dataset.

So can somebody tell me how to store treeview data into dataset. Thank You
in Advance.
Inpreet Singh
 
Back
Top