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

位置 0 沒有資料列。

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

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

原始程式錯誤:


行 115:            dict.Clear();
行 116:            string WebMenu_Type = "";
行 117:            if (RS.Rows[0]["WebMenu_Type"].ToString() == "OnePage" || RS.Rows[0]["WebMenu_Type"].ToString() == "List")
行 118:            {
行 119:                WebMenu_Type = "Content";

原始程式檔: d:\Inetpub\WebTPAA\OnePage.aspx.cs    行: 117

堆疊追蹤:


[IndexOutOfRangeException: 位置 0 沒有資料列。]
   System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex) +2441565
   System.Data.DataRowCollection.get_Item(Int32 index) +19
   _RWD01_OnePage.Page_Load(Object sender, EventArgs e) in d:\Inetpub\WebTPAA\OnePage.aspx.cs:117
   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.4087.0