Mayfield2268
Active member
- Joined
- Feb 24, 2003
- Messages
- 30
I have created a class called EmployeeInfo with a namespace of EmployeeInfo. When I try to create an instance of this class in my .aspx page, I get the following error...
BC30002: Type EmployeeInfo is not defined.
Source Error:
Line 13: Page.DataBind()
Line 14: End If
Line 15: Dim Emp as new EmployeeInfo()
Line 16: End Sub
I have added this line at the top...
<%@ import Namespace="EmployeeInfo" %>
Does anyone have suggestions on how to create an instance of a class.
Thanks
PS Im using Asp.Net Web Matrix
Jason Lee Mayfield
BC30002: Type EmployeeInfo is not defined.
Source Error:
Line 13: Page.DataBind()
Line 14: End If
Line 15: Dim Emp as new EmployeeInfo()
Line 16: End Sub
I have added this line at the top...
<%@ import Namespace="EmployeeInfo" %>
Does anyone have suggestions on how to create an instance of a class.
Thanks
PS Im using Asp.Net Web Matrix
Jason Lee Mayfield