P
PawelR
Hello Group,
I have DataTable dt with 3 Columns (id, GroupName, ItemName).
How group in TreeView items by GroupName?
EX:
myTable:
id GroupName ItemName
1 Group1 it1_gr1
2 Group2 it1_gr2
3 Group1 it2_gr1
4 group1 it3_gr1
5 group2 it2_gr2
and treeview
Root
- Group1
- - it1_gr1
- - it2_gr1
- - it3_gr1
- Group2
- - it1_gr2
- - it1_gr2
Thx for yours Help
br.
PawelR
I have DataTable dt with 3 Columns (id, GroupName, ItemName).
How group in TreeView items by GroupName?
EX:
myTable:
id GroupName ItemName
1 Group1 it1_gr1
2 Group2 it1_gr2
3 Group1 it2_gr1
4 group1 it3_gr1
5 group2 it2_gr2
and treeview
Root
- Group1
- - it1_gr1
- - it2_gr1
- - it3_gr1
- Group2
- - it1_gr2
- - it1_gr2
Thx for yours Help
br.
PawelR