using file upload control.
How to get path of file when using file upload control in asp.net
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Madhu KPosted Jan 13, 2011, 8:37 AM
string filename = FileUpload1.FileName;
//gives along with the directory like c://Folder1//img.png
string filename= FileUpload1.PostedFile.FileName;