Server Error in '/' Application.

Could not find control 'tablenameLbl' in ControlParameter 'TABLENAME'.

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.InvalidOperationException: Could not find control 'tablenameLbl' in ControlParameter 'TABLENAME'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[InvalidOperationException: Could not find control 'tablenameLbl' in ControlParameter 'TABLENAME'.]
   System.Web.UI.WebControls.ControlParameter.Evaluate(HttpContext context, Control control) +3655797
   System.Web.UI.WebControls.Parameter.UpdateValue(HttpContext context, Control control) +72
   System.Web.UI.WebControls.ParameterCollection.UpdateValues(HttpContext context, Control control) +130
   System.Web.UI.WebControls.SqlDataSource.LoadCompleteEventHandler(Object sender, EventArgs e) +62
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Page.OnLoadComplete(EventArgs e) +11692860
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3455


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