| SUBCATEGORY_ID | PARENTSUBCATEGORY_ID | CATEGORY_ID |
| 1 | 0 | 10 |
| 2 | 0 | 9 |
| 3 | 0 | 1 |
| 4 | 1 | 10 |
| 5 | 1 | 10 |
| 6 | 0 | 8 |
| 7 | 0 | 7 |
| 8 | 6 | 8 |
I want to display these data like this using treeview
categoryid
subcategoryid
childsubcategoryid
how i do this?
this table data may increase when adding subcatergory.
i have to use entity framewok fo this.
how i do this?
Is there a friend to help this one
thanks
how I do this in entity framework
Iftikar HussainPosted Aug 23, 2013, 4:37 AM
Please refer the below link
http://www.c-sharpcorner.com/UploadFile/c5c6e2/populate-a-treeview-dynamically/
Regards,
Iftikar
Sanjeeb LenkaPosted Aug 23, 2013, 4:36 AM
http://www.codeproject.com/Articles/24534/How-to-load-data-from-database-to-TreeView