Page Inheritance woes .net 1.1 with visual studio 2003

R

raghu1

I am btrying to have a base page as a common repository for a set of
functions:
some business logic, set-reset session variables.

Can never get to run the aspx. Here is my agony:

basePage.cs
namespace dbLib{
public class basePage : System.Web.UI.Page
{
public basePage()
{
//
// TODO: Add constructor logic here
//
}


public string hostServer()
{
return Request.ServerVariables["HTTP_HOST"];
}

public string webAppsPath()
{
return Request.ServerVariables["PATH_INFO"];
}



}
}


My aspx.cs is:
public class _default:dbLib
In the Page_Load class, I can see hostServer() ... etc

But on the browser I always get: missing reference to the library.
I am not sure what I am missing ...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,794
Messages
2,569,641
Members
45,353
Latest member
RogerDoger

Latest Threads

Top