There is no row at position 9.

Server Error in '/' Application.

There is no row at position 9.

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.IndexOutOfRangeException: There is no row at position 9.

Source Error:


Line 1041:                            string key = dr["kname"].ToString();
Line 1042:
Line 1043:                            string img = dsimg.Tables[0].Rows[wz]["iimg"].ToString();
Line 1044:                            string title = dsimg.Tables[0].Rows[wz]["ititle"].ToString();
Line 1045:                            string url = Request.QueryString["page"] + "?cid=" + Request.QueryString["cid"] + "&shop=" + HttpUtility.UrlEncode(key) + "&xi=" + xi + "&xc=" + xc + "&pl=" + pl + "&pr=" + price + "&you=" + (Request.QueryString["you"] == null ? "0" : Request.QueryString["you"]);

Source File: d:\web\bbimg.style-js.com\GD_Page.aspx.cs    Line: 1043

Stack Trace:


[IndexOutOfRangeException: There is no row at position 9.]
   System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex) +119
   System.Data.DataRowCollection.get_Item(Int32 index) +21
   google_action.bindSJ() in d:\web\bbimg.style-js.com\GD_Page.aspx.cs:1043
   google_action.Page_Load(Object sender, EventArgs e) in d:\web\bbimg.style-js.com\GD_Page.aspx.cs:28
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +85
   System.Web.UI.Control.OnLoad(EventArgs e) +79
   System.Web.UI.Control.LoadRecursive() +130
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2854


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4676.0