Hi!

I have programmed vb.net for a few years now, and recently started with c#.

I have a web page "MyFirstPage" which has a masterpage "MyMasterpage". I also added a new web form called "Pagebase.aspx" where I will have error handling and some other stuff.

I could add error handling in the master page, but not all pages in teh project will use the masterpage.

Now I tried to inherit using the following code:

public partial class MyFirstPage : PageBase

But it refuses to work. I have checked namespaces and anything i can think of. Clearly Im doing something wrong because the intellisense wont find the PageBase class. The two files are located in the same web project...

I had no problem with this in vb.net... hmmmm whats the problem?

kind regards
Henrik