“/”应用程序中的服务器错误。

beplayAPP-beplay体育应用助手-beplay体育app

说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.ArgumentException: beplayAPP-beplay体育应用助手-beplay体育app

源错误:


行 218:        //Response.End();
行 219:        //取数据并绑定
行 220:        products_Repeater.DataSource = pBll.GetDataListByPage(Sqlstr, Page, ActualNum);
行 221:        products_Repeater.DataBind();
行 222:    }

源文件: d:\vhostroot\localuser\hjfzk88\www\UserControl\SysControl\products.cs    行: 220

堆栈跟踪:


[ArgumentException: -4 的 StartRecord 值无效;该值必须大于等于 0。
参数名: startRecord]
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +161
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable) +100
   OleDbBaseLib.OleDbHelper.CreateDataSet(String sql, Int32 Begin, Int32 ShowCount) in F:\DcmsWeb\OleDbBaseLib\OleDbHelper.cs:323
   Dcms.OleDbDAL.Dcms_ProductsDAL.GetDataListByPage(String SqlStr, Int32 CurPage, Int32 PageSize) +23
   Dcms.BLL.Dcms_ProductsBLL.GetDataListByPage(String SqlStr, Int32 CurPage, Int32 PageSize) in F:\DcmsWeb\BLL\Dcms_ProductsBLL.cs:67
   products.Page_Load(Object sender, EventArgs e) in d:\vhostroot\localuser\hjfzk88\www\UserControl\SysControl\products.cs:220
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


版本信息: Microsoft .NET Framework 版本:2.0.50727.8806; ASP.NET 版本:2.0.50727.8762