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

在位置 11 处没有任何行。

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

异常详细信息: System.IndexOutOfRangeException: 在位置 11 处没有任何行。

源错误:


行 65:                                     %>
行 66:                                    
行 67:                                     <a href="/upload/<%=dt.Rows[i]["pic"] %>" class="l small" data-lightbox="example-set">
行 68:                                       <img src="/upload/<%=dt.Rows[i]["pic"] %>" width="264" height="181" onerror="javascript:this.src='/images/nopic.gif'" />
行 69:                                         <div class="ft"><span> <%=dt.Rows[i]["TITLE"] %></span></div>

源文件: d:\freehost\huanan1\web\TrafficFacilities.aspx    行: 67

堆栈跟踪:


[IndexOutOfRangeException: 在位置 11 处没有任何行。]
   System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex) +1548274
   System.Data.RBTree`1.get_Item(Int32 index) +19
   System.Data.DataRowCollection.get_Item(Int32 index) +11
   ASP.trafficfacilities_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in d:\freehost\huanan1\web\TrafficFacilities.aspx:67
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +256
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
   System.Web.UI.Page.Render(HtmlTextWriter writer) +29
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1266


版本信息: Microsoft .NET Framework 版本:2.0.50727.7905; ASP.NET 版本:2.0.50727.7905