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

找不到資料表 0。

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

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

原始程式錯誤:


行 55:             //da.Dispose();
行 56: 
行 57:             return (dsNew.Tables[0]);
行 58:         }
行 59:         catch (Exception e)

原始程式檔: c:\SceWeb\CLM\App_Code\dbTrans.cs    行: 57

堆疊追蹤:


[IndexOutOfRangeException: 找不到資料表 0。]
   System.Data.DataTableCollection.get_Item(Int32 index) +92
   dbTrans.GetDataTable(String strSQL) in c:\SceWeb\CLM\App_Code\dbTrans.cs:57

[Exception: An Exception occurred in the dbTrans.GetDataTable DAcomponent.]
   dbTrans.GetDataTable(String strSQL) in c:\SceWeb\CLM\App_Code\dbTrans.cs:62
   clm_da.GetCourDetailTable(String strYear, String strSchl, String strColl, String strCurs) in c:\SceWeb\CLM\App_Code\clm_da.cs:177
   CLM_course_detail.GetCourDetail(String strYear, String strSchl, String strColl, String strCurs) in c:\SceWeb\CLM\CLM_course_detail.aspx.cs:201
   CLM_course_detail.GetCourse(String strYear, String strSchl, String strColl, String strCurs, String strDoma) in c:\SceWeb\CLM\CLM_course_detail.aspx.cs:167
   CLM_course_detail.Page_Load(Object sender, EventArgs e) in c:\SceWeb\CLM\CLM_course_detail.aspx.cs:75
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


版本資訊: Microsoft .NET Framework 版本:2.0.50727.8974; ASP.NET 版本:2.0.50727.8975