Server Error in '/' Application.

Cannot find column Total.

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.IndexOutOfRangeException: Cannot find column Total.

Source Error:


Line 160:        int maxResults = 20;
Line 161:
Line 162:        makes.DefaultView.Sort = "Total Desc";
Line 163:        
Line 164:        

Source File: f:\Inetpub\virtualserver1\sites\50ktrucks_mobile\manufacturers\makes.aspx.cs    Line: 162

Stack Trace:


[IndexOutOfRangeException: Cannot find column Total.]
   System.Data.DataTable.ParseSortString(String sortString) +2813983
   System.Data.DataView.set_Sort(String value) +164
   InvMakesPage.LoadMakes(InventoryManager invMgr, ListView ctl, String breakout) in f:\Inetpub\virtualserver1\sites\50ktrucks_mobile\manufacturers\makes.aspx.cs:162
   InvMakesPage.Page_Load(Object sender, EventArgs e) in f:\Inetpub\virtualserver1\sites\50ktrucks_mobile\manufacturers\makes.aspx.cs:114
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


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