newbie - help - where do u store custom classes when importing namespaces in ASP

  • Thread starter Thread starter ravi sankar
  • Start date Start date
I assume u have done the following steps
1. Create a class library project called "testclass" and
have the name space also as "testclass". Have a class
called 'Class1' in it & a method 'SayHello()'
2. When u compile "testclass" project, u get testclass.dll
3. Create another web project "testwebprj" and have a
webform webform1.aspx
4. From project properties add reference to testclass.dll
(this will copy the dll to the web project dll directroy)
5. in the code behind
Dim x as testclass.Class1
x.SayHello()

the above steps should work.

Please let me know if u doing somthing different anywhere.

regards,
s.ravi sankar
 
Hi, I havnt got Visual Studio so is it possbile to reference it using
command line options?

abz
 
Back
Top