@using (Html.BeginForm("Upload", "Upload", FormMethod.Post, new { enctype = "multipart/form-data" })) { @Html.ValidationSummary(true) <fieldset> <legend>program</legend> <div class="editor-label"> Programe Name : </div> <div class="editor-field"> @Html.EditorFor(model => model.prog_name) @Html.ValidationMessageFor(model => model.prog_name) <span style="color: red">*</span> <span style="color: red">@ViewBag.name</span> </div> <div class="editor-label"> Version Number : </div> <div class="editor-field"> @Html.EditorFor(model => model.ver_number) @Html.ValidationMessageFor(model => model.ver_number) <span style="color: red">*</span> <span style="color: red">@ViewBag.ver</span> </div> <p> <input type="submit" value="Upload"/> </p> </fieldset> }
this.ModelState.Clear();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)