开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜