T
tom
My clients hosting company (BT!!) will not allow pre-compiled code so
I am having to use the src page directive. I thought this wouldnt eb
a big problem! Bit mistake. However, I am getting there.
I have the following setup and the items are called one after another:
default.aspx - My Page!
default.vb - My Codebhind page (accessed via the src directive)
clsBLL - My Business Logic Layer
clsData - My Data Layer
I have added the following to default.aspx:
<%@ Import Namespace="System.Data" %>
<%@ Assembly Src="clsData.vb" %>
<%@ Assembly Src="clsBLL.vb" %>
<%@ Page src="default.aspx.vb" Inherits="_2CDesign._default"%>
However; whenever I run default.aspx I get the following error:
BC30002: Type 'clsData' is not defined.
Its almost like I need to add a <%@ Assembly Src="clsData.vb" %> line
of code into clsBLL, how do I do this? Or how do I let clsBLL see
clsData?
I am having to use the src page directive. I thought this wouldnt eb
a big problem! Bit mistake. However, I am getting there.
I have the following setup and the items are called one after another:
default.aspx - My Page!
default.vb - My Codebhind page (accessed via the src directive)
clsBLL - My Business Logic Layer
clsData - My Data Layer
I have added the following to default.aspx:
<%@ Import Namespace="System.Data" %>
<%@ Assembly Src="clsData.vb" %>
<%@ Assembly Src="clsBLL.vb" %>
<%@ Page src="default.aspx.vb" Inherits="_2CDesign._default"%>
However; whenever I run default.aspx I get the following error:
BC30002: Type 'clsData' is not defined.
Its almost like I need to add a <%@ Assembly Src="clsData.vb" %> line
of code into clsBLL, how do I do this? Or how do I let clsBLL see
clsData?