Oct 23
So you’d think that uploading a file using the standard FileUpload control would be easy. Well there is a small problem. Using the following code you would expect ‘filename’ to contain just the filename of the file uploaded.
String filename;
filename = FileUpload1.PostedFile.FileName;
Read more