Re: common custom classes
From: Tony (tony_at_Wright_nospam_one.co.uk)
Date: 12/06/04
- Next message: Edge: "Re: Opening an MS Access .mdb file from asp.net"
- Previous message: Eliyahu Goldin: "Re: JSP"
- In reply to: John M Deal: "Re: common custom classes"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 06 Dec 2004 08:23:56 GMT
On Sun, 05 Dec 2004 09:03:04 -0800, John M Deal wrote:
> If the file containing the common classes is in the same project but has a
> different namespace you can simply put a using (C#) or Imports(VB.Net)
> statement at the top of the code behind class:
>
> using The.Other.Namespace; //This is for C#
>
> or
>
> Imports The.Other.Namespace 'This is for VB.Net
>
> If the file containing the other classes is in another project/assembly,
> you'll also need to set a reference to the DLL that contains the class.
> Hope that helps.
Thanks for the reply, I am programming in VB.net using a text editor, do I
absolutely need to compile my common classes into a dll or is there a way
of adding a reference/path to a source file? if so what is the syntax?
Tony
- Next message: Edge: "Re: Opening an MS Access .mdb file from asp.net"
- Previous message: Eliyahu Goldin: "Re: JSP"
- In reply to: John M Deal: "Re: common custom classes"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|