Web Grid MVC
@model MvcApplication30.Models.PagedStudentModel @{ ViewBag.Title = "WebGrid CRUD Operations"; WebGrid grid = new WebGrid(rowsPerPage: Model.PageSize); grid.Bind(Model.It_Student, autoSortAndPage: false, rowCount: Model.TotalRows ); } Add New Student @grid.GetHtml( htmlAttributes: new { id = "grid" }, fillEmptyRows: false, mode: WebGridPagerModes.All, firstText: "<< First", previousText: "< Prev", nextText: "Next >", lastText: "Last >>", columns: new[] { grid.Column("StudentID", header: "ID", canSort: true), grid.Column(header: "Stu...