Server Error in '/' Application.

Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

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.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

Source Error:


Line 78:     {
Line 79:         DataSet dsc = cn.select("product_detail '" + Request.QueryString["product"].ToString() + "','" + Request.QueryString["clr"].ToString() + "','" + Request.QueryString["p"] + "'");
Line 80:         Label cr1 = (Label)rpt_prddetails.Items[0].FindControl("Label9");
Line 81:         //Label cr2 = (Label)rpt_prddetails.Items[0].FindControl("Label10");
Line 82:         Label cr3 = (Label)rpt_prddetails.Items[0].FindControl("Label11");

Source File: c:\Inetpub\vhosts\saifcarpets.com\httpdocs\product_desc.aspx.cs    Line: 80

Stack Trace:


[ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index]
   System.Collections.ArrayList.get_Item(Int32 index) +12992954
   System.Web.UI.WebControls.RepeaterItemCollection.get_Item(Int32 index) +15
   product_desc.careins_show() in c:\Inetpub\vhosts\saifcarpets.com\httpdocs\product_desc.aspx.cs:80
   product_desc.Page_Load(Object sender, EventArgs e) in c:\Inetpub\vhosts\saifcarpets.com\httpdocs\product_desc.aspx.cs:52
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.Web.UI.Control.OnLoad(EventArgs e) +95
   System.Web.UI.Control.LoadRecursive() +59
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678


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