B
babu17
hi ,
I have a database table with 3 columns
table1:
eid ename parentid
0 root 0
1 child1 0
2 child2 0
3 gchild1 1
4 gchild2 1
5 gchild3 2
6 gchild4 2
7 ggchild1 3
..... and so on.
now i want to populate the ASP.NET and C# tree view with the table
entries by querying the eids and parentids.
i am using ASP.NET 1.1. so i am using microsoft web controls.
TreeView:
Root
---child1
------gchild1
----------ggchild1
------gchild2
---child2
------gchild3
------gchild4
and so on.....
Can some one point to some logic or to some document.
thanks
I have a database table with 3 columns
table1:
eid ename parentid
0 root 0
1 child1 0
2 child2 0
3 gchild1 1
4 gchild2 1
5 gchild3 2
6 gchild4 2
7 ggchild1 3
..... and so on.
now i want to populate the ASP.NET and C# tree view with the table
entries by querying the eids and parentids.
i am using ASP.NET 1.1. so i am using microsoft web controls.
TreeView:
Root
---child1
------gchild1
----------ggchild1
------gchild2
---child2
------gchild3
------gchild4
and so on.....
Can some one point to some logic or to some document.
thanks