Advertisement
Guest User

Untitled

a guest
Jul 28th, 2015
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. @using (Html.BeginForm("List", "Employee", FormMethod.Post, new { gridRows = grid.Rows }))
  2. {
  3. @grid.GetHtml(columns: grid.Columns(
  4. grid.Column("EmployeeId", format: @<input type="text" value=@item.EmployeeId />),
  5. grid.Column("Name", format: @<input type="text" value=@item.Name />)))
  6.  
  7. <input type="submit" value="Save" />
  8. }
  9.  
  10. [HttpPost]
  11. public ActionResult List(IList<WebGridRow> gridRows)
  12. {
  13.  
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement