tazekar
چهارشنبه 02 مهر 1382, 08:01 صبح
سلام
آقا من هر موقع که میخوام datagrid.databind کنم این خطا رو میده :
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.
مثلا برای این کد :
this.DataGrid1.CurrentPageIndex=e.NewPageIndex;
this.DataGrid1.DataBind();
اما برای بعضی از فرمهام هم درست کار میکنه .
لطفا دلیلش رو بهم بگین .
آقا من هر موقع که میخوام datagrid.databind کنم این خطا رو میده :
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.
مثلا برای این کد :
this.DataGrid1.CurrentPageIndex=e.NewPageIndex;
this.DataGrid1.DataBind();
اما برای بعضی از فرمهام هم درست کار میکنه .
لطفا دلیلش رو بهم بگین .