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 350:            if (drikid5.Length >= dd)
Line 351:            {
Line 352:                ru = drikid5[dd][type].ToString();
Line 353:            }
Line 354:        }

Source File: d:\web\HJH\hk2s.hjhdy.com\1212.aspx.cs    Line: 352

Stack Trace:


[IndexOutOfRangeException: Index was outside the bounds of the array.]
   s.getdrikid5(Int32 dd, String type) in d:\web\HJH\hk2s.hjhdy.com\1212.aspx.cs:352
   ASP._1212_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in d:\web\HJH\hk2s.hjhdy.com\1212.aspx:810
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +270
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +14
   System.Web.UI.Page.Render(HtmlTextWriter writer) +30
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +67
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +101
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +27
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1342


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