pasan herath

pasan herath

  • NA
  • 21
  • 28.1k

treeview

Aug 23 2013 4:14 AM
I have a table like
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

Answers (2)