How Can I Update the Check Box values of more than one person at one click
I tried by using business layer
@model IEnumerable
@{
ViewBag.Title = "UPS";
}
UPS
@Html.DisplayNameFor(model => model.Id) | @Html.DisplayNameFor(model => model.Name) | @Html.DisplayNameFor(model => model.AddR) | @Html.DisplayNameFor(model => model.EditR) | @Html.DisplayNameFor(model => model.DelR) | @Html.DisplayNameFor(model => model.ChkpwdR) | @Html.DisplayNameFor(model => model.AssignR) | @Html.DisplayNameFor(model => model.UpdateR) | |
|---|---|---|---|---|---|---|---|---|
@Html.DisplayFor(modelItem => item.Id) | @Html.DisplayFor(modelItem => item.Name) | @Html.EditorFor(modelItem => item.AddR, new { @id="addr"}) | @Html.EditorFor(modelItem => item.EditR, new { @id = "editr" }) | @Html.EditorFor(modelItem => item.DelR, new { @id = "delr" }) | @Html.EditorFor(modelItem => item.ChkpwdR, new { @id = "chpr" }) | @Html.EditorFor(modelItem => item.AssignR, new { @id = "assr" }) | @Html.EditorFor(modelItem => item.UpdateR, new { @id = "upr" }) |
How Can I write the post method for getting all the values of checkbox basing on id
this is the link for image view for the get method
postimg.org/image/5qt5k0rd1
please help me .
1 Reply
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Amit KumarPosted Mar 11, 2016, 9:33 AM