'/' 應用程式中發生伺服器錯誤。

位置 0 沒有資料列。

描述: 在執行目前 Web 要求的過程中發生未處理的例外狀況。請檢閱堆疊追蹤以取得錯誤的詳細資訊,以及在程式碼中產生的位置。

例外狀況詳細資訊: System.IndexOutOfRangeException: 位置 0 沒有資料列。

原始程式錯誤:


行 19:                 jcx.qstr = "select * from news where AutoNo=" & Request("idx")
行 20:                 tblQuestion = jcx.OpenTable2("Conn_RUser", "news")
行 21:                 Content = tblQuestion.Rows(0).Item("content")
行 22:                 subject = tblQuestion.Rows(0).Item("subject")
行 23:                 str_date = tblQuestion.Rows(0).Item("cdate")

原始程式檔: D:\easytest_net\web\board_detail.aspx.vb    行: 21

堆疊追蹤:


[IndexOutOfRangeException: 位置 0 沒有資料列。]
   System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex) +2137508
   System.Data.DataRowCollection.get_Item(Int32 index) +22
   board_detail.Page_PreLoad(Object sender, EventArgs e) in D:\easytest_net\web\board_detail.aspx.vb:21
   System.Web.UI.Page.OnPreLoad(EventArgs e) +126
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +617


版本資訊: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.8.4330.0