Decoding a tag in ASP.NET MVC
I'd like to know if there is an alternative for this in ASP.NET MVC:
<input type="file" name="filePath" id="file" />
I would like to have it with some code sample:
开发者_如何学编程<%= Html.TextAreaFor(m => m.FilePath,1,32,null)%>
Write your own Html helper, that will render this html code for you. You can use this tutorial or this video to get some knowledge about how to make it.
精彩评论