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

在位置 0 处没有任何行。

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

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

源错误:


行 100: <div style="  background-image:url('../../Content/images/imgebj.jpg'); width:723px; float:left;">
行 101:  <div style=" margin-top:42px; width:703px;">
行 102:  <div style=" font-size:27px; padding-left:30px;float:left;">  <%=ds.Tables[0].Rows[0]["pr_en_na"]%></div>
行 103: <div style="height:26px; width:26px;float:right; margin-right:5px;margin-top:5px;" ><a href="/En/Edu/?num=Video4&index=3"><img id="3" border="0" src="../../Content/images/4.jpg" alt="" /></a></div>
行 104:<div style="height:26px; width:26px;float:right; margin-right:5px;margin-top:5px;"><a href="/En/Edu/?num=Video3&index=2"><img id="2" border="0" src="../../Content/images/3.jpg" alt="" /></a></div>

源文件: d:\WebData\www.yifantoys.com\Views\En\Edu.aspx    行: 102

堆栈跟踪:


[IndexOutOfRangeException: 在位置 0 处没有任何行。]
   System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex) +2567213
   System.Data.RBTree`1.get_Item(Int32 index) +16
   System.Data.DataRowCollection.get_Item(Int32 index) +16
   ASP.views_en_edu_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in d:\WebData\www.yifantoys.com\Views\En\Edu.aspx:102
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +115
   System.Web.UI.Page.Render(HtmlTextWriter writer) +38
   System.Web.Mvc.ViewPage.Render(HtmlTextWriter writer) +89
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4428


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