Server Error in '/' Application.

Column 'ccode' does not belong to table 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 'ccode' does not belong to table Table.

Source Error:


Line 154:                {
Line 155:					WEB.Common.SetCookie("language", dt.Rows[0]["vlan"].ToString().Trim(), 60 * 24);
Line 156:                    string app = dt.Rows[0]["ccode"].ToString().Trim();
Line 157:                    switch (app)
Line 158:                    {

Source File: c:\HostingSpaces\tranphu\tranphucable.com.vn\wwwroot\home\controls.ascx.cs    Line: 156

Stack Trace:


[ArgumentException: Column 'ccode' does not belong to table Table.]
   System.Data.DataRow.GetDataColumn(String columnName) +7107668
   System.Data.DataRow.get_Item(String columnName) +17
   home_controls.Page_Load(Object sender, EventArgs e) in c:\HostingSpaces\tranphu\tranphucable.com.vn\wwwroot\home\controls.ascx.cs:156
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


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