找不到資料表 1。

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

找不到資料表 1。

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

例外狀況詳細資訊: System.IndexOutOfRangeException: 找不到資料表 1。

原始程式錯誤:


行 81:         TCFP.Services.SqlServerDAL.PublicBill dal = new TCFP.Services.SqlServerDAL.PublicBill();
行 82:         DataSet ds = dal.GetPlayList(this.Language, (int)Application["SiteNameID"], arrPlayType[this.Language]);
行 83:         if (ds != null & ds.Tables[1].Rows.Count > 0)
行 84:         {
行 85:             DataTable dt = ds.Tables[1];

原始程式檔: c:\Web\2008\taipeicaf.Web\Controls\Index\PlayerCenterContent.ascx.cs    行: 83

堆疊追蹤:


[IndexOutOfRangeException: 找不到資料表 1。]
   System.Data.DataTableCollection.get_Item(Int32 index) +113
   Controls_Index_PlayerCenterContent.GetFirstPlay() in c:\Web\2008\taipeicaf.Web\Controls\Index\PlayerCenterContent.ascx.cs:83
   Controls_Index_PlayerCenterContent.Page_Load(Object sender, EventArgs e) in c:\Web\2008\taipeicaf.Web\Controls\Index\PlayerCenterContent.ascx.cs:72
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


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