Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

instantiating a .aspx.cs class in a .cs class

Status
Not open for further replies.

lumstar

Technical User
Jan 29, 2002
177
CA
Hi there,

I have a .cs class devsAuthor located in my web projects App_code folder. I am trying to create an instance of a web form (addauthor.aspx, addauthor.aspx.cs) so that I can call it's functions. however I get an error when i try to declare the form as follows:

namespace.addauthor authPage;

the error is "The type or namespace add author does not exist in the namespace 'namespace' (are you missing an assemblyt reference?)

I can't figure why this won't work since both classes are members of the same namespace and located in the same project.

Any help would be greatly appreciated.

Thanks,

Lumstar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top