Server Error in '/' Application.

Cannot find table 0.

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 table 0.

Source Error:


Line 210:
Line 211:	templateBuilder.Append("\r\n			\r\n					
\r\n "); Line 212: DataTable news_list=get_article_list(channel,category_id,pagesize,page,"status = 0 and is_del=0",out totalcount, out pagelist, model.urls_name, category_id, "__id__"); Line 213: Line 214: templateBuilder.Append("\r\n \r\n
    \r\n ");

Source File: d:\wwwroot\Media College\aspx\xww\xww_dzxb_list.aspx    Line: 212

Stack Trace:


[IndexOutOfRangeException: Cannot find table 0.]
   System.Data.DataTableCollection.get_Item(Int32 index) +6310706
   JLCMS.Web.UI.BasePage.get_article_list(String channel_name, Int32 category_id, Int32 page_size, Int32 page_index, String strwhere, Int32& totalcount, String& pagelist, String _key, Object[] _params) in E:\寮€鍙戦」鐩甛2019\姝︽眽浼犲獟瀛﹂櫌\浠g爜\婧愮爜\V1.0\JLcms.Web.UI\Label\article.cs:149
   ASP.aspx_xww_xww_dzxb_list_aspx.OnInit(EventArgs e) in d:\wwwroot\Media College\aspx\xww\xww_dzxb_list.aspx:212
   System.Web.UI.Control.InitRecursive(Control namingContainer) +133
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1970


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
Baidu
sogou