The IListSource does not contain any data sources.求救
我用原始程序和数据新做站点,程序和数据都是一样的,但是出现这样的问题,谁能帮解决一下?
错误代码如下:
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.Web.HttpException: The IListSource does not contain any data sources.
Source Error:
Line 279: DataList1.DataSource = LoadDB(strsql, c_page);
Line 280:
Line 281: DataList1.DataBind();
Line 282:
Line 283: }
Source File: d:\new\buy_fy.aspx.cs Line: 281