I have a asp.net page with the following on the page:
<asp:FileUpLoad id="FileUpLoad1" runat="server" /><br />
but i need to get the pathname in that textbox to use with a stored procedure. Now the only thing i can get is the filename (not the path). Any ideas?
This is my code retrieving the filename:
string filename = FileUpLoad1.FileName.ToString(); //string filepath = FileUpLoad1.; Label1.Text = filepath + filename; //DataAccess.UploadFlatFile(filepath , filename);
Edited 7 Years Ago by phoenix_dwarf: n/a