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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top