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

后端 未结 7 1986
萌比男神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:24

    You need to specify the name of the field. If you don't want a name, nor a value, it's better to just include the field as is in your form.

    It doesn't make sense to use a helper, if there's nothing dynamic about it.

提交回复
热议问题