行 57: string a = dt2.Rows[0]["name"].ToString(); 行 58: ds1 = ms.getlist("news", "*", 0, "id=" + tid, ""); 行 59: string b = ds1.Tables[0].Rows[0]["title"].ToString(); 行 60: string bs = ds1.Tables[0].Rows[0]["picshou"].ToString(); 行 61:
[IndexOutOfRangeException: 在位置 0 处没有任何行。] System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex) +1556314 System.Data.DataRowCollection.get_Item(Int32 index) +20 newsdetial.Page_Load(Object sender, EventArgs e) in d:\wwwroot\nhn164276\wwwroot\newsdetial.aspx.cs:59 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51 System.Web.UI.Control.OnLoad(EventArgs e) +92 System.Web.UI.Control.LoadRecursive() +54 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772