Server Error in '/' Application.

Column 'ContID' does not belong to table .

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.ArgumentException: Column 'ContID' does not belong to table .

Source Error:


Line 88:                     for (int a = 0; a < dtb1.Rows.Count; a++)
Line 89:                     {
Line 90:                         string ContRoot1 = StartUp.GetData("tblContent", "ContRoot", "ContRoot=" + dtb1.Rows[a]["ContID"].ToString());
Line 91: 
Line 92:                         if (dtb1.Rows[a]["Description"].ToString() == "Calander")

Source File: e:\hostingspaces\vithya\nac.org.kh\wwwroot\kh\SiteMaster.master.cs    Line: 90

Stack Trace:


[ArgumentException: Column 'ContID' does not belong to table .]
   System.Data.DataRow.GetDataColumn(String columnName) +6035112
   System.Data.DataRow.get_Item(String columnName) +14
   SiteMaster.showmenu() in e:\hostingspaces\vithya\nac.org.kh\wwwroot\kh\SiteMaster.master.cs:90
   SiteMaster.Page_Load(Object sender, EventArgs e) in e:\hostingspaces\vithya\nac.org.kh\wwwroot\kh\SiteMaster.master.cs:41
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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