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

位置 0 沒有資料列。

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

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

原始程式錯誤:


行 27:         TitleTable = My.EasyFunction.AppMSSQL.CreateDataSet("Sell", "Select * From Sell Where ID = @ID", New SqlParameter("ID", Page.RouteData.Values("ID"))).Tables(0)
行 28: 
行 29:         Response.RedirectPermanent("https://sale.988house.com/detail/" & TitleTable.Rows(0).Item("NID"))
行 30: 
行 31:         If TitleTable.Rows.Count <= 0 Then Response.Redirect("~/Sell/")

原始程式檔: D:\網頁\988house\988house\Sell\SellShow.aspx.vb    行: 29

堆疊追蹤:


[IndexOutOfRangeException: 位置 0 沒有資料列。]
   System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex) +2541686
   System.Data.DataRowCollection.get_Item(Int32 index) +20
   Sell_SellShow.Page_Load(Object sender, EventArgs e) in D:\網頁\988house\988house\Sell\SellShow.aspx.vb:29
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +11751536
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1602


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