System.IndexOutOfRangeException: There is no row at position 0. at System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex) at System.Data.RBTree`1.get_Item(Int32 index) at System.Data.DataRowCollection.get_Item(Int32 index) at tfox.fenzhan.NGenerateSub.BindPageData(StringBuilder sb, String condition, Int32 page, Int32& totals, String& pageinfo, Int32& pagesize) at tfox.fenzhan.NGenerateSub.GenerateProList(String rootPath, String template, StringBuilder sb, StringBuilder temp, String condition, String contents, DataRow row, String typeid1, String id, String page)