Server Error in '/' Application.

Cannot find table 0.

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 0.

Source Error:


Line 33:         ds = obj.ddlDataProc("sp_tbl_HydraulicHose_Stainless_Steel_Female_Swivel_24_L_Series_90Elbow_O_Ring", ParamList1);
Line 34: 
Line 35:         if (ds.Tables[0].Rows.Count > 0)
Line 36:         {
Line 37:             lblmsg.Visible = false;

Source File: g:\pleskvhosts\versionnextevents.com\SemiDynamic\samperindia.com\Our_Products\HydraulicHose\HydraulicHose_Stainless_Steel_Female_Swivel_24_L-Series_90Elbow_O-Ring.aspx.cs    Line: 35

Stack Trace:


[IndexOutOfRangeException: Cannot find table 0.]
   System.Data.DataTableCollection.get_Item(Int32 index) +81
   Our_Products_HydraulicHose_HydraulicHose_Stainless_Steel_Female_Swivel_24_L_Series_90Elbow_O_Ring.BindDetail() in g:\pleskvhosts\versionnextevents.com\SemiDynamic\samperindia.com\Our_Products\HydraulicHose\HydraulicHose_Stainless_Steel_Female_Swivel_24_L-Series_90Elbow_O-Ring.aspx.cs:35
   Our_Products_HydraulicHose_HydraulicHose_Stainless_Steel_Female_Swivel_24_L_Series_90Elbow_O_Ring.Page_Load(Object sender, EventArgs e) in g:\pleskvhosts\versionnextevents.com\SemiDynamic\samperindia.com\Our_Products\HydraulicHose\HydraulicHose_Stainless_Steel_Female_Swivel_24_L-Series_90Elbow_O-Ring.aspx.cs:22
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0