Author: kowalsky | Posted on: 11/8/2010 9:38:50 AM | Views : 831

hi all,
I need to be able to navigate through the file system from an asp.net page and gather metadata on files, directories ...
The simple code I've put together makes a list of directories/files in a given location and has everything displayed as a link button.
My problem is with link buttons under which I have paths that include ampersands and blanks.
Here's a sample of code:
private void FileSystem_ItemCommand(object source, DataGridCommandEventArgs e) { //get the filepath from the specified command arguments of the link button string filepath = e.CommandArgument.ToString(); //get the file system type of the selec ...

Go to the complete details ...