WebGrid
@{ var grid = new WebGrid(ViewBag.SampleList, canPage: true, rowsPerPage: 250, canSort: true); @grid.GetHtml(tableStyle: "gridtable", headerStyle: "GridHeader", footerStyle: "GridEvenRow", rowStyle: "GridEvenRow", alternatingRowStyle: "GridOddRow") ; }
columns: grid.Columns()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)