Server Error in '/' Application.

Column "LadyPoints" does not exist.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: Column "LadyPoints" does not exist.

Source Error:


Line 147:           
Line 148:        <p>
Line 149:            @grid.GetHtml(
Line 150:                tableStyle: "grid",
Line 151:                headerStyle: "head",

Source File: d:\hostingspaces\benbrook\putneycricketclub.com\wwwroot\stats\fielding\default.cshtml    Line: 149

Stack Trace:


[InvalidOperationException: Column "LadyPoints" does not exist.]
   System.Web.Helpers.WebGrid.EnsureColumnIsSortable(IEnumerable`1 columns) +70847
   System.Web.Helpers.WebGrid.Table(String tableStyle, String headerStyle, String footerStyle, String rowStyle, String alternatingRowStyle, String selectedRowStyle, String caption, Boolean displayHeader, Boolean fillEmptyRows, String emptyRowCellValue, IEnumerable`1 columns, IEnumerable`1 exclusions, Func`2 footer, Object htmlAttributes) +40
   System.Web.Helpers.WebGrid.GetHtml(String tableStyle, String headerStyle, String footerStyle, String rowStyle, String alternatingRowStyle, String selectedRowStyle, String caption, Boolean displayHeader, Boolean fillEmptyRows, String emptyRowCellValue, IEnumerable`1 columns, IEnumerable`1 exclusions, WebGridPagerModes mode, String firstText, String previousText, String nextText, String lastText, Int32 numericLinksCount, Object htmlAttributes) +206
   ASP._Page_stats_fielding_default_cshtml.Execute() in d:\hostingspaces\benbrook\putneycricketclub.com\wwwroot\stats\fielding\default.cshtml:149
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +199
   System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors) +73
   System.Web.WebPages.WebPage.ExecutePageHierarchy() +154
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +80
   System.Web.WebPages.WebPageHttpHandler.ProcessRequestInternal(HttpContextBase httpContext) +119


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0