Server Error in '/' Application.

Index was outside the bounds of the array.

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: Index was outside the bounds of the array.

Source Error:


Line 535:            if (drikid5.Length >= dd)
Line 536:            {
Line 537:                ru = drikid5[dd][type].ToString();
Line 538:            }
Line 539:        }

Source File: d:\web\HJH\dy1s.hjhdy.com\1213.aspx.cs    Line: 537

Stack Trace:


[IndexOutOfRangeException: Index was outside the bounds of the array.]
   s.getdrikid5(Int32 dd, String type) in d:\web\HJH\dy1s.hjhdy.com\1213.aspx.cs:537
   ASP._1213_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in d:\web\HJH\dy1s.hjhdy.com\1213.aspx:828
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +103
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +9
   System.Web.UI.Page.Render(HtmlTextWriter writer) +30
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +129
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +287
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +27
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5635


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