Author: dkaur76 | Posted on: 6/5/2009 8:06:58 AM | Views : 479

 I am using a file upload control to select a file to upload on server.
<asp:FileUpload ID="File1" runat="server" width="300"></asp:FileUpload>             
I need to use full path of this file example : "C:\Documents and Settings\dkaur\My Documents\Healthvault\MSM_HV\user_images\213.jpg" in my method that uses this file.
I tried to get the path as follows in my method: String imagePath = File1.FileName;
But it only gets "213.jpg"  and not the whole path.
How do I get the whole path?
 
Thanks.

 
...

Go to the complete details ...