How to Store Treeview data into dataset

  • Thread starter Nicholas Paldino [.NET/C# MVP]
  • 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.
 
H

http://www.visual-basic-data-mining.net/forum

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top