S
support
I have a web page (compiled with .net 2.0 /Visual studio 2005)
http://people-places-work.info/addPerson.aspx
derived from System.Web.UI.Page, but I would like to insert an intermediate
class called addPersonBase from this local project.
This worked for me in VB, but C# wants something more.
---------addPerson.aspx.cs
public partial class addPerson :
//System.Web.UI.Page
addPersonBase
{ ....
}
----------end
---------addPersonBase.cs
public class addPersonBase :
System.Web.UI.Page
{
public addPersonBase ()
{
.....
}
----------end
Unfortunately when I do that I get an error
Error 1 The type or namespace name 'addPersonBase' could not be found (are
you missing a using directive or an assembly reference?)
Any ideas on how to fix that?
http://people-places-work.info/addPerson.aspx
derived from System.Web.UI.Page, but I would like to insert an intermediate
class called addPersonBase from this local project.
This worked for me in VB, but C# wants something more.
---------addPerson.aspx.cs
public partial class addPerson :
//System.Web.UI.Page
addPersonBase
{ ....
}
----------end
---------addPersonBase.cs
public class addPersonBase :
System.Web.UI.Page
{
public addPersonBase ()
{
.....
}
----------end
Unfortunately when I do that I get an error
Error 1 The type or namespace name 'addPersonBase' could not be found (are
you missing a using directive or an assembly reference?)
Any ideas on how to fix that?