hi frnds
I am creating a web grid but am getting error I am sharing a code pl let me know where I m stuck
@using (Html.BeginForm("Find" , "SearchNew")){
@Html.ValidationSummary(true)
<fieldset>
<legend></legend>
@{
var grid = new WebGrid();
@grid.GetHtml(
headerStyle: "headerStyle",
tableStyle: "tableStyle",
alternatingRowStyle: "alternateStyle",
columns: grid.Columns(
grid.Column(columnName: "Id", header: "Id"),
grid.Column(columnName: "Summary", header: "Summary"),
grid.Column(columnName: "Status", header: "Status")))
}
</fieldset>