@* @grid.GetHtml(columns: grid.Columns ( grid.Column("Name","Stud Name"), grid.Column("Marks","Marks"), grid.Column("Section","Section"), grid.Column("Address","Address"), //Error start here (Red line in vs 2012) not recognizes the razor syntax grid.Column("",null,format: @ @{ <a href ="/Student/Edit/?StuId = @item.id">Edit</a>} grid.Column("", null, format: @ @{<a href="/Student/Delete/?stuId=@item.Id">Delete</a>} ) ).mode : WebGridPagerModes.Numeric)*@
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)