Populating the treeview with whole file system is impractical and time-consuming. It takes ages and huge amount of memory which may de-stabilize your application, or even whole system.
Instead of populating the treeview yourself, I strongly recommend to look at the Folder TreeView Control which does the job nicely. This control gives you a ready-made explorer-style file system tree and is available for free.
But is there any way to populate the TreeView ... Actually i just took an example of file System.... I have an data which is in a similar fashion in the database(MS ACCESS)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.