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 262:
Line 263:        dsMasterData = HRRECBLL.Class1.geteducationtemp(resumid);
Line 264:        if (dsMasterData.Tables[0].Rows.Count > 0)
Line 265:        {
Line 266:            dt = dsMasterData.Tables[0];

Source File: c:\HRREC\HRMAIN\Manual.aspx.cs    Line: 264

Stack Trace:


[IndexOutOfRangeException: Cannot find table 0.]
   System.Data.DataTableCollection.get_Item(Int32 index) +113
   OnlineApplication.filleducation() in c:\HRREC\HRMAIN\Manual.aspx.cs:264
   OnlineApplication.Page_Load(Object sender, EventArgs e) in c:\HRREC\HRMAIN\Manual.aspx.cs:47
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


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