Server Error in '/' Application.

Cannot find table 1.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IndexOutOfRangeException: Cannot find table 1.

Source Error:


Line 505:
Line 506:        DataTable DT1 = DS.Tables[0];
Line 507:        DT2 = DS.Tables[1];
Line 508:        DT3 = DS.Tables[2];
Line 509:

Source File: c:\Domains\AccommodationDirect\propertyview.aspx.cs    Line: 507

Stack Trace:


[IndexOutOfRangeException: Cannot find table 1.]
   System.Data.DataTableCollection.get_Item(Int32 index) +3145106
   propertyview.Page_Load(Object sender, EventArgs e) in c:\Domains\AccommodationDirect\propertyview.aspx.cs:507
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082