Answers for "@html.textboxfor(x => x.file, new { type = "file" })"

C#
1

mvc input type file

@using (Html.BeginForm("Action", "Controller", FormMethod.Post, new 
                                       { enctype = "multipart/form-data" }))
{
    @Html.TextBoxFor(m => m.File, new { type = "file" })
    @Html.ValidationMessageFor(m => m.File)
}
Posted by: Guest on April-21-2020

Code answers related to "@html.textboxfor(x => x.file, new { type = "file" })"

C# Answers by Framework

Browse Popular Code Answers by Language