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

万博matext手机_万博体育官网登录注册_万博体育max

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

异常详细信息: System.IndexOutOfRangeException: 万博matext手机_万博体育官网登录注册_万博体育max

源错误:


行 108:        if (Request.QueryString["Id"] != null)
行 109:        {
行 110:            int StateId = int.Parse(OleTableServer.FindAllByWhere("Id=" + int.Parse(Request.QueryString["Id"]), "cyf_ProductClass").Rows[0]["Id"].ToString());
行 111:            this.Repeater5.DataSource = OleTableServer.FindAllByWhere("StateId=" + StateId, "cyf_Dis");
行 112:            this.Repeater5.DataBind();

源文件: e:\wwwroot\webnetw\fqe\product.aspx.cs    行: 110

堆栈跟踪:


[IndexOutOfRangeException: 万博matext手机_万博体育官网登录注册_万博体育max]
   System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex) +1541594
   System.Data.RBTree`1.get_Item(Int32 index) +19
   System.Data.DataRowCollection.get_Item(Int32 index) +11
   product.Repeater3_ItemDataBound(Object sender, RepeaterItemEventArgs e) in e:\wwwroot\webnetw\fqe\product.aspx.cs:110
   System.Web.UI.WebControls.Repeater.OnItemDataBound(RepeaterItemEventArgs e) +108
   System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +136
   System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +443
   System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +51
   System.Web.UI.WebControls.Repeater.DataBind() +75
   product.PageBind() in e:\wwwroot\webnetw\fqe\product.aspx.cs:36
   product.Page_Load(Object sender, EventArgs e) in e:\wwwroot\webnetw\fqe\product.aspx.cs:27
   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.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


版本信息: Microsoft .NET Framework 版本:2.0.50727.5466; ASP.NET 版本:2.0.50727.5456