Server Error in '/' Application.

There is no row at position 0.

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: There is no row at position 0.

Source Error:

Line 155:
Line 156:	templateBuilder.Append("\r\n                    </div>\r\n                    <div class=\"Next\">\r\n                        <b>下一篇:</b>");
Line 157:	templateBuilder.Append(get_prevandnext_article("products_show", 1, "没有了", 0).ToString());
Line 158:
Line 159:	templateBuilder.Append("</div>\r\n                </div>\r\n                <!-- 当前信息 上一条 下一条  结束-->\r\n            </div>\r\n            <div class=\"clear\">\r\n            </div>\r\n        </div>\r\n        <!--主体内容 结束-->\r\n    </div>\r\n    <!--Footer-->\r\n    ");

Source File: d:\Web\20160820久居香\aspx\main\products_show.aspx    Line: 157

Stack Trace:

[IndexOutOfRangeException: There is no row at position 0.]
   System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex) +1556386
   System.Data.DataRowCollection.get_Item(Int32 index) +20
   LTcms.Web.UI.Page.article_show.get_prevandnext_article(String urlkey, Int32 type, String defaultvalue, Int32 callIndex) +2686
   ASP.aspx_main_products_show_aspx.OnInit(EventArgs e) in d:\Web\20160820久居香\aspx\main\products_show.aspx:157
   System.Web.UI.Control.InitRecursive(Control namingContainer) +134
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +489

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