brows a directory

  • Thread starter Thread starter marek
  • Start date Start date
M

marek

Hello All.

Can anyone advice me how to create in asp.net
something similiar to CFileDialog in MFC. I want to be able
to browse on a client side a chosen subdirectory in the
application's root directory on server. Does there exist
any predefined class for such a functionallity or simple
way of doing it?

Thanks in advance
Greetings
Marek
 
marek said:
Hello All.

Can anyone advice me how to create in asp.net
something similiar to CFileDialog in MFC. I want to be able
to browse on a client side a chosen subdirectory in the
application's root directory on server. Does there exist
any predefined class for such a functionallity or simple
way of doing it?

Thanks in advance
Greetings
Marek

Check out the System.IO.FileInfo and System.IO.DirectoryInfo classes.
They allow you to create a list of files in a folder, etc. You can use
these to bind to a datalist on the screen for the user to browse the
folders.
 
System.IO has lots of folder and file objects you can use to get lists of
them for a specified DIR.
 
Back
Top