Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Need help -Databound treeview

Hello!
I am quite new to Visual Basic.net .
I need to display data from mysql table in treeview . (like family tree)
how can i do this?
Thanking u
Shilpa
[173 byte] By [bhaveshilpa] at [2007-11-11 10:20:02]
# 1 Re: Need help -Databound treeview
http://support.microsoft.com/kb/320755
Phil Weber at 2007-11-11 20:48:14 >
# 2 Re: Need help -Databound treeview
Thanks ,
This code works but for each tree node i need one for loop.
I need to pick up data from table which is like

Myid ParentId
100 51
121 100
123 100
125 100
129 121
142 121
150 142
153 150
155 153

this can go upto depth n . how to show this in tree view

my another query is the textboxes which except age of new member should except only numbers between 18 to 100 . is there any property like keyascii in vb6. vb.net e.keychar is read only which i can not change.
how to implement this?

thanks and regards,
shilpa bhave
bhaveshilpa at 2007-11-11 20:49:14 >