0
Answer

loading items from Db to treeview

kourosh saleh

kourosh saleh

18y
2k
1

Hi,

I am trying to load my items from Database to a Treeview but i have faild

My table contains id, parentId, nodeName like this:

(1 , 1  RootNode)

(2 ,  2 ,  ParentNode)

(3,  2  ,  Child_for_2)

(4, 4 ,  AnotherParent)

(5 , 2 ,  anotherChild_for_2)

(6 , 4  , Child_for_4)

 

My problem is ,, I can not read it to my Treeveiw ( need some code).
thanks