Beta 2 inherits

Hello,

I was using the following for my codebehind with VW Developer Beta1:
Imports System
Imports System.Web
Imports System.Web.UI
Imports System.Web.UI.WebControls
Imports System.Web.UI.WebControls.ImageButton
Imports System.Data
Imports System.Data.OLEDB
Imports System.Web.Mail
Partial Class default_aspx


When I created a new page, I got the following.
Partial Class default_aspx
    Inherits System.Web.UI.Page

I read the article on the differences between Beta 1 & 2, but am still confused on how to convert what I had in Beta 1 to the new format (Beta 2)

--
Thanks in advance,

sck10


Answer this question

Beta 2 inherits

  • FrozenFrog

    What problems are you having The only difference I can see if the extra imports in Beta1 and the 'user' Page is explicitly stating that it inherits from System.Web.UI.Page.

  • Luigi_C

    Hello !!

    I have a problem with Inherits in VW 2005 Express Edition Beta 2:

    I have a class called clsBasePage.vb ... I need to inherit this class in default.aspx.vb but the IDE does not recognize my class:

    // My Class: clsBasePage.vb

    Public Class clsBasePage
       Inherits System.Web.UI.Page // Ok

    ' ... Code

    End Class

    // Default.aspx.vb

    Public Class _Default
       Inherits clsBasePage // Here I have many errors, for example: Type 'clsBasePagina' is not defined.

    ' ... Code

    End Class

    This problem does not happen in MS Visual Studio 2003 ... Can you help me please

  • Beta 2 inherits