Last post Jul 20, 2005 09:39 AM by suncoast
Jul 20, 2005 09:39 AM|suncoast|LINK
I wanted to create a dynamic tree based upon entries in a SQL database. I didn't want to modify the nodes every time I added, changed or deleted a node. The solution was to bind to a table. Below is the code you can cut-and-paste into a form and it will
work! I did this in an ASP.Net form, but I'm fairly sure it will work just as well in a Winform as well.
The format of the table is as follows (I named the table NavigationNodes):
UltraWebTree1.SelectedNode = UltraWebTree1.Nodes(0)
Well, that should be it.