I want to populate the treeview strucure in windows application using C# and I have a table structure in database:
table1 folder
|
-->folderid
|
-->foldername
table2 file
|
-->fileid
|
-->filename
table3 fillfolder
|
-->id
|
-->folderid
|
-->fileid
That file is always the child of the folder, but how I can populate the treeview which shows like this
root
--folder1
----->file1
----->file2
--folder2
-----folder3
----------file4