Admin
@using (Html.BeginForm("About", "Home", FormMethod.Post))
{
<div>
@Html.HiddenFor(m => m.ID, new {id="hdnID"})
<div>Name :</div><div>@Html.TextBoxFor(m => m.name, new { id="txtname"})</div>
@Html.ValidationMessageFor(m => m.name, "", new { @class = "text-danger" })
<div>salary :</div><div>@Html.TextBoxFor(m =>m.salary, new { id = "txtsalary" })</div>
@Html.ValidationMessageFor(m =>m.salary, "", new { @class = "text-danger" })
<div>state :</div>
<div>
@Html.DropDownListFor(m =>m.stateId, (IEnumerable<SelectListItem>ViewData["GetStateList"], null, new { id = "ddlstate", name = "ddlstate", @class = "form-control" })
</div>
@Html.ValidationMessageFor(m =>m.stateId, "", new { @class = "text-danger" })
<divclass="form-group">
<divclass="col-md-offset-2 col-md-10">
<inputtype="submit"value="Create"class="btnbtn-danger"/>
</div>
</div>
</div>
}
Like · Comment ·

Ansari Tahir

can i upload project ..
Like ·
Download Android App