Grid In Mvc

@{
WebGrid grid = new WebGrid(Model);
@grid.GetHtml(
tableStyle: “grid”,
fillEmptyRows: false,
headerStyle: “gvHeading”,
alternatingRowStyle: “gvAlternateRow”,
rowStyle: “gvRow”,
footerStyle: “gvFooter”,
mode: WebGridPagerModes.Numeric,
// firstText: “<< First",
//previousText: "”,
//lastText: “Last >>”,

columns: new[] {
grid.Column(“name”,header: “name”),
grid.Column(“createData”,header:”createData”),
grid.Column(“bIsOn”,header: “bIsOn”),
grid.Column(“ContactusId”, header: “Action”, canSort:false,
format: @
@Html.Raw(“Edit“)
@Html.Raw(“Delete“)

)
})
}