Hi all
Im using fileupload control and i want the location comes in the fileupload control.But where i get only filename
For example
My file may be in C:/myfolder/hi.txt
i want this location instead im getting only file name
string filename1 = Path.GetFileName(FileUpload1.FileName);
string ls_nm = HiddenField1.Value;
string path = Path.GetDirectoryName(FileUpload1.PostedFile.FileName);
string toatal = FileUpload1.PostedFile.FileName;
All these methods returns only that filename
how to get exact location??
thanks in Advance