This is a migrated thread and some comments may be shown as answers.

treeview from sql table

2 Answers 105 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
dhanya
Top achievements
Rank 1
dhanya asked on 19 Jul 2011, 05:04 PM
I have sql table like below.I want to show it in tree view


id   parentid     name
1     NULL       outlook
2     1      overcast
3     1       rainy
4     1       sunny
5     2        yes
6     3        wind
7     4      humidity
8     6       strong
9     6        weak
10    7        high
11    8         no
12    9         yes
13   10          no
14   15         yes
15   7        normal
please help me if any one knows.....

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 20 Jul 2011, 06:27 AM
Hello Dhanya,

Please take a look into the following help articles to achieve your scenario.
Binding to ASP.NET DataSource Components.
Binding to Hierarchical Data.

Thanks,
Shinu.
0
dhanya
Top achievements
Rank 1
answered on 20 Jul 2011, 09:25 AM
it is solved now.Thank you all for replying
Tags
TreeView
Asked by
dhanya
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
dhanya
Top achievements
Rank 1
Share this question
or