Can any one tell me the code to get all files and folder(with sub dir n files) ?
I want to show it as a tree view+list view with folders only shown in a tree view and the sub directories and files of selected treeview node in the listview..(Same as in Windows Explorer)...
Advertisements. Register and be a member of the community to get rid of them.
Why no reply guys ? I also want help on some other questions.... How can we traverse a tree (in a treeview) ? How to save a file(create a file) using savedialog box(I want ot save the currently active database to a format...) ? How to open the saved file using openfiledialog ?
if you can manage get hold of CD that comes with C# Black Book of Dreamtech publication.
many examples and projects to get you started..
the questions you ask are basic and u must solve them urself. use MSDN on the internet
database as a whole cannot be written to a file using c# methods. c# Save method is for binary or a file stream only.
use data base connection using OLEDB or ODBC using the inbuilt server.
__________________
Quote:
There are more things in heaven and earth, Horatio,
Than are dreamt of in your philosophy.