treeview from sql table

3 posts, 0 answers
  1. dhanya
    dhanya avatar
    2 posts
    Member since:
    Jul 2011

    Posted 19 Jul 2011 Link to this post

    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. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 20 Jul 2011 Link to this post

    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.
  3. dhanya
    dhanya avatar
    2 posts
    Member since:
    Jul 2011

    Posted 20 Jul 2011 Link to this post

    it is solved now.Thank you all for replying
Back to Top