Html helper for <input type=“file” />

后端 未结 8 2033
予麋鹿
予麋鹿 2020-11-28 18:16

Is there a HTMLHelper for file upload? Specifically, I am looking for a replace of


using ASP.NET

8条回答
  •  悲&欢浪女
    2020-11-28 19:16

    You can also use:

    @using (Html.BeginForm("Upload", "File", FormMethod.Post, new { enctype = "multipart/form-data" }))
    { 
        

    }

提交回复
热议问题