how to display file path in fileupload control in mvc3 Razor

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi ,
I am using file upload control for file /image uploading in MVC3 razor and saving the file path in SQL Server 2008.
now i am retreving the file path from SQL Server and trying to display the file path in fileupload control. but its not showing the file path in fileuploade control.

Example :
<input type="file" name="fileupload" id="fileupload" value="@model.filepath"/>
but in file upload contol is showing emply .
Please help me on this issue.

<img alt="" height="587" src="http://social.msdn.microsoft.com/Forums/getfile/199040" width="586 <hr class="sig DeviSree

View the full article
 
Back
Top