Hi..
I am working on tree view I have four parent nodes and and there sub child.
So should I have to maintain in table in database..
any body help please..
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Amit ChoudharyPosted May 9, 2011, 1:24 AM
You can create a table structure like this in your database:
Parent Table
Child Table
SubChild Table:
-
ChildID -
GrandChildName
Now, you just have to retrieve the nodes in a right hierarchy to get the elements and save them into database.GetAll the parents using GetSibling of parents and Get all the childs and save them respectively into db.
Hope this helps you.