kourosh saleh

kourosh saleh

  • NA
  • 20
  • 50k

loading items from Db to treeview

May 10 2006 9:30 AM

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