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

在位置 0 处没有任何行。

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

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

源错误:


行 17:     DataRow[] drmodule = cmd.dtmodule.Select("parentnode='" + strm.Substring(0, strm.Length - 3) + "'", "nodelorder asc");//循环二级栏目
行 18:     //配套试剂
行 19:     DataRow dtinfo = Tools.GetDataSet("select * from V_C_reagent where isdel=0 and flowstate=99 and nodecode='" + strm + "' and id='" + strid + "'").Rows[0];
行 20: 
行 21:     DataTable dtcomlist = Tools.GetDataSet("select p.* from productList p,V_C_TJList t where t.NodeCode='" + strm + "' and t.MainID='" + strid + "' and p.NodeCode=t.SecondaryNodeCode and p.ID=t.SecondaryID order by t.Orders");

源文件: d:\wwwroot\jgkg54363\wwwroot\template\epigeneticsShow.aspx    行: 19

堆栈跟踪:


[IndexOutOfRangeException: 在位置 0 处没有任何行。]
   System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex) +1556314
   System.Data.DataRowCollection.get_Item(Int32 index) +20
   ASP.template_epigeneticsshow_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in d:\wwwroot\jgkg54363\wwwroot\template\epigeneticsShow.aspx:19
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +268
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
   System.Web.UI.Page.Render(HtmlTextWriter writer) +29
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +57
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1386


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.0.30319.36480