A
Alex. O. Koranteng
I have a clas file in App_code folder which is being called during pag_load
to load a datatable. I am getting the error below and the code for Page_Load
is as follows
Any suggestions will be appreciated. I can email you the zipped file for the
entire project if necessary
Line 20: if (Page.IsPostBack == false)
Line 21: {
Line 22: DataTable dtData = cCommon.GetEmployees();
Line 23: this.ddlEmployee.Items.Add(String.Empty);
Line 24: foreach (DataRow drData in dtData.Rows)
Server Error in '/Chapter 5 - Update Panel' Application.
--------------------------------------------------------------------------------
Compilation Error
Description: An error occurred during the compilation of a resource required
to service this request. Please review the following specific error details
and modify your source code appropriately.
Compiler Error Message: CS0103: The name 'cCommon' does not exist in the
current context
Source Error:
Thanks
to load a datatable. I am getting the error below and the code for Page_Load
is as follows
Any suggestions will be appreciated. I can email you the zipped file for the
entire project if necessary
Line 20: if (Page.IsPostBack == false)
Line 21: {
Line 22: DataTable dtData = cCommon.GetEmployees();
Line 23: this.ddlEmployee.Items.Add(String.Empty);
Line 24: foreach (DataRow drData in dtData.Rows)
Server Error in '/Chapter 5 - Update Panel' Application.
--------------------------------------------------------------------------------
Compilation Error
Description: An error occurred during the compilation of a resource required
to service this request. Please review the following specific error details
and modify your source code appropriately.
Compiler Error Message: CS0103: The name 'cCommon' does not exist in the
current context
Source Error:
Thanks