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 8013:            If Request.QueryString("from") <> "" Then
Line 8014:                ds = id.getFLIdByParentId(Request.QueryString("from"))
Line 8015:                tbl = ds.Tables(0)
Line 8016:                If tbl.Rows(0)("name").ToString = Resources.Resource.hicheck Then
Line 8017:                    folder = "Hi_check"

Source File: C:\inetpub\fit2career\Default1.aspx.vb    Line: 8015

Stack Trace:


[IndexOutOfRangeException: Cannot find table 0.]
   System.Data.DataTableCollection.get_Item(Int32 index) +81
   _Default1.Page_Load(Object sender, EventArgs e) in C:\inetpub\fit2career\Default1.aspx.vb:8015
   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