Hi Tim:
You have imported the namespace, now you just need to tell ASP.NET the
name of the assembly you want to reference.
One way is to use the @ Assembly directive in the page.
http://msdn.microsoft.com/library/de...onassembly.asp
Since you'll probably use the assembly in more than one page, you can
also reference assemblies in the web.config file.
http://msdn.microsoft.com/library/de...assemblies.asp
Also, with the default settings, any assembly in the web application's
bin directory is automatically referenced.
HTH,
--
Scott
http://www.OdeToCode.com
On Mon, 16 Aug 2004 00:41:47 -0400, "Tim Wallace"
<reply@this_group.com> wrote:
I'm a .Net noob. I created a dll using c#. Now, I want to reference that
DLL in an ASPX page. I put the import directive in the page like this:
<%@ Import Namespace="BHQ.BusinessLogicLayer" %>
but keep getting this error:
CS0246: The type or namespace name 'BHQ.BusinessLogicLayer' could not be
found (are you missing a using directive or an assembly reference?)
What are the procedures for using/registering a DLL in ASP.Net?
Tim