Click to See Complete Forum and Search --> : Load TreeView Control From Database Table


firegate
08-01-2008, 03:40 PM
Dear Gundevar
i have a problem that i want to make at tree view from sql express database and i don't know the right way to do that, i appreciate your help
this is the scenario i want to do, i have a database table called members each member has an ID and has Referal and Arabicname attributes
what i want to do is to show in tree view each member with his name and ID (As Parnet) and show his referals (As chileds)

my table looks like that
ID arabicname referal
1 aa 0 "main node"
2 bb 1 "first child for ID 1"
3 cc 2
and so on

i realy wish that u could help me with this
thanks in advance

Hack
08-02-2008, 08:31 AM
Split from this (http://forums.devx.com/showthread.php?t=168865) thread into its own thread.