A
Alex. O. Koranteng
I have created a class Department.cs in my App_Code folder. I am using
objectdatasource to populate my formsview control. When page loads, I am
getting the error mesage below: Will appreciate any suggestions.
Server Error in '/ObjectDataSourceGuide' 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: CS0246: The type or namespace name 'Department'
could not be found (are you missing a using directive or an assembly
reference?)
Source Error:
Line 15: if (!IsPostBack)
Line 16: {
Line 17: Department objDepartmnet=new Department();
Line 18:
Line 19:
Source File:
c:\Netforums\CsharpCorner\ObjectDataSourceGuide\ObjectDataSource\Default.aspx.cs Line: 17
Thanks
objectdatasource to populate my formsview control. When page loads, I am
getting the error mesage below: Will appreciate any suggestions.
Server Error in '/ObjectDataSourceGuide' 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: CS0246: The type or namespace name 'Department'
could not be found (are you missing a using directive or an assembly
reference?)
Source Error:
Line 15: if (!IsPostBack)
Line 16: {
Line 17: Department objDepartmnet=new Department();
Line 18:
Line 19:
Source File:
c:\Netforums\CsharpCorner\ObjectDataSourceGuide\ObjectDataSource\Default.aspx.cs Line: 17
Thanks