codebehind and custom objects

  • Thread starter Thread starter Karl Hungus
  • Start date Start date
K

Karl Hungus

Say I have a code behind class, and in that I want to instantiate and call
methods on some objects Ive written in other cs files, what do I need to do
to make those objects available within the codebehind?

thanks in advance
 
IF it is in the same assembly you can just Instantiate the class and call
its methods. If not you must a reference to the assembly and add an imports
or includes statement in the codebehind class
 
Forgive me, Im new to asp.net - Does this mean I need to compile my custom
classes into dlls?

where do I add an assembly reference?

thanks in advance,
Karl
 
Is this something that is possible to do if you
A. dont use visual studio
and
B. have a shared hosting account?
 
Back
Top