手机验证领58彩金不限id,新用户注册送38元体验金,注册送35元的体验金

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

没有为命令对象设置命令。

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

异常详细信息: System.Data.OleDb.OleDbException: 没有为命令对象设置命令。

源错误:


行 123:
行 124:        DataSet ds = new DataSet();
行 125:        datareader.ExecuteSelectSql_AspNetPager(sql).Fill(ds, AspNetPager1.PageSize * (AspNetPager1.CurrentPageIndex - 1), AspNetPager1.PageSize, "OtherTable");
行 126:        this.AspNetPager1.RecordCount = datareader.ExecuteSelect(sql).Rows.Count;
行 127:        this.Repeater3.DataSource = ds;

源文件: d:\wwwroot\gzydefy\wwwroot\list.aspx.cs    行: 125

堆栈跟踪:


[OleDbException (0x80040e0c): 没有为命令对象设置命令。]
   System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr) +1007584
   System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) +255
   System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) +188
   System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult) +58
   System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +161
   System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior) +116
   System.Data.OleDb.OleDbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +4
   System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +130
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +287
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable) +100
   list.bindrepeater() in d:\wwwroot\gzydefy\wwwroot\list.aspx.cs:125
   list.AspNetPager1_PageChanged(Object sender, EventArgs e) in d:\wwwroot\gzydefy\wwwroot\list.aspx.cs:153
   Wuqi.Webdiyer.AspNetPager.OnPageChanged(EventArgs e) +97
   Wuqi.Webdiyer.AspNetPager.OnPageChanging(PageChangingEventArgs e) +193
   Wuqi.Webdiyer.AspNetPager.OnLoad(EventArgs e) +304
   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