Please give code example on
I populate my treeview from sql example
Column Name : ID
Column Name : Catalogue
Column Name : ParentID
Data
1 Cataloge1 null
2. Catalogue2 1
3. Catalogue3 2
The tree look like this
I populate my treeview from sql example
Column Name : ID
Column Name : Catalogue
Column Name : ParentID
Data
1 Cataloge1 null
2. Catalogue2 1
3. Catalogue3 2
The tree look like this
- Catalogue1
Catalogue2
Catalogue3
I want to delete the middel node "Catalogue2" then node 3 "Catalogue3" must move 1 up so the tree just have 2 nodes
- Catalogue1
Catalogue3
How do i do this when treeview is populated from sql