How to create MVC 4 @Html.TextBox type=“file”?

后端 未结 7 2139
萌比男神i
萌比男神i 2021-02-20 14:57

I need to add the following field at my form


I create model and describe this field (the las

7条回答
  •  天涯浪人
    2021-02-20 15:26

    There's nothing wrong with just using the input tag directly in your view. You aren't required to use a helper.

    
    

    Just make sure it's within your BeginForm declaration block.

提交回复
热议问题