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

在位置 0 处没有任何行。

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

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

源错误:


行 118:
行 119:</div><div id="layer93B038C5E1E91A6AE81D906D47D2D8E0" type="shapes" class="cstlayer" style="left: 1126px; top: 314px; position: absolute; z-index: 125; height: 21px; width: 74px;" mid="" deg="0"><div >
行 120:<%=string.Format("{0:yyyy-mm-dd}",ds.Tables[0].Rows[0]["Createtime"]) %>
行 121:</div>
行 122:

源文件: e:\www\weichenzhuanli20181225\article.aspx    行: 120

堆栈跟踪:


[IndexOutOfRangeException: 在位置 0 处没有任何行。]
   System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex) +148
   System.Data.RBTree`1.get_Item(Int32 index) +18
   System.Data.DataRowCollection.get_Item(Int32 index) +12
   ASP.article_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in e:\www\weichenzhuanli20181225\article.aspx:120
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +98
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +21
   System.Web.UI.Page.Render(HtmlTextWriter writer) +27
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +53
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +310
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +24
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +8279


版本信息: Microsoft .NET Framework 版本:2.0.50727.1891; ASP.NET 版本:2.0.50727.1433