If the dll is in the local bin folder of the application and you are not
using VS.Net then add this tag on the top of your aspx page:
<%@ Import namespace="MyLibrary"%>
If you are using VS.Net then use Project->Add Reference->Browse to pick up
the dll into your project and in the codebehind class add
Imports MyLibrary 'VB syntax
using MyLibrary; //C# syntax

Signature
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
> Hello!
>
> Quick question: what is the syntax to manually add a reference to a DLL on
> an aspx page?
>
> Thanks!
Bahman - 19 Jan 2006 00:26 GMT
Phillip,
I tried many different variations. None worked.
What I have is this:
<%@ Import namespace="Ajax.dll"%>
where the dll is in the bin folder underneath.
I need a clue how to add reference to a DLL on the page directly.
-Bahman
> If the dll is in the local bin folder of the application and you are not
> using VS.Net then add this tag on the top of your aspx page:
[quoted text clipped - 12 lines]
> >
> > Thanks!
Bahman - 19 Jan 2006 00:27 GMT
Phillip,
I tried many variations of this:
<=% import namespace = "ajax.dll">
none of which worked whatever folder I put it in.
I would need some clue how to reference a dll on a page directly.
-Bahman
> If the dll is in the local bin folder of the application and you are not
> using VS.Net then add this tag on the top of your aspx page:
[quoted text clipped - 12 lines]
> >
> > Thanks!