Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @using (Html.BeginForm("List", "Employee", FormMethod.Post, new { gridRows = grid.Rows }))
- {
- @grid.GetHtml(columns: grid.Columns(
- grid.Column("EmployeeId", format: @<input type="text" value=@item.EmployeeId />),
- grid.Column("Name", format: @<input type="text" value=@item.Name />)))
- <input type="submit" value="Save" />
- }
- [HttpPost]
- public ActionResult List(IList<WebGridRow> gridRows)
- {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement