I'm trying to find some code to load a treeview for my web app. from a database table. I found plenty of examples but can't get my hands on code that deals with multiple tiers in the treeview.
Result should look like this
Root
-----Node 1
--------sub node 1,1
--------sub node 1,2
-----------subnode 1,1,1
-----Node 2
--------sub node 2,1
Is there a simple loop to generate this?
Start Free Trial