Hi..
I am populating a treeview in form1 based on the checkeditems in checkedlistbox which is in form2 but am unable to list the subfolders and files of the checked folder..
Can anyone please help me????
Thanks..
hi..
This is my scenario but am not getting any error..
I have two forms form1 and form2,in form1 i have an treeview and in form2 i have checkedlistbox which i am populating as follows:-
and based on the checkedfolder i am building an treeview but am unbale to view the subfolders and files from the checked folder..
I am populating a treeview in form1 based on the checkeditems in checkedlistbox which is in form2 but am unable to list the subfolders and files of the checked folder..
Can anyone please help me????
Thanks..
hi..
This is my scenario but am not getting any error..
I have two forms form1 and form2,in form1 i have an treeview and in form2 i have checkedlistbox which i am populating as follows:-
Code:
System.IO.DirectoryInfo di = new System.IO.DirectoryInfo("E:\\Mails"); System.IO.FileSystemInfo[] files = di.GetDirectories(); checkedListBox1.Items.AddRange(files);
Comment