Author: jrich523 | Posted on: 2/22/2006 7:23:11 PM | Views : 280

So i want to use the treeview control to list out a directory structure. having a bit of a problem with this. I figured the first thing i should do is search the web for some already written code and so i found a bunch of stuff but none of it seems to work correctly and i know a lot of its in 1.1 and some of it appears to be in 2.0 but some of the calls dont make sense.
does anyone know where i can get some code for this or perhaps guide me through doing this. I already have the directory structure being spit out via a recursive function. but im not real sure how to keep track of the depth of this to create the tree nodes in the right spot. 
I also attempted to look at the docs but from what i have seen from VWD and MSDN and other web resources i cant quite figure out what goes to what version and how each method/property works.
 
Thanks for your input.
Justin
...

Go to the complete details ...