Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a DB Table. Table Name:Parts Columns:'PartId','name'. This table will always be getting new entries. I want to populate treeview using this tables rows. Tree view will have one 'root' node and only parent nodes(rows of table).

-Part
-sub1(row1)
-sub2(row2)
-sub3(row3)
...
No child nodes here. I have found many articles discussing about creating tree view using two tables(parent and child nodes) but didn't find any examples for doing the above(creating only parent nodes). Please help me by providing the links that are discussing to implement the above or a sample code to start on this.
Posted
Updated 29-Jan-14 0:59am
v2

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900