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

索引 0 不是一個負數值,也不會超過資料列總數。

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

例外狀況詳細資訊: System.IndexOutOfRangeException: 索引 0 不是一個負數值,也不會超過資料列總數。

原始程式錯誤:


行 18:             ' Request.QueryString("No") = Label2.Text
行 19:             ' Label2.Visible = True
行 20:             Label2.Text = dv.Item(0).Item("CLNo")
行 21: 
行 22:         End If

原始程式檔: C:\inetpub\mobile\pentouwa.aspx.vb    行: 20

堆疊追蹤:


[IndexOutOfRangeException: 索引 0 不是一個負數值,也不會超過資料列總數。]
   System.Data.DataView.GetRow(Int32 index) +2157607
   System.Data.DataView.get_Item(Int32 recordIndex) +16
   pentouwa.Page_Load(Object sender, EventArgs e) in C:\inetpub\mobile\pentouwa.aspx.vb:20
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


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