G
Guest
In 1.1 it was possible to refer to a web page class from another class
I've just started in v2.0 and found that this code sn't working
The web page class:
Partial Class _Default
Inherits System.Web.UI.Page
End Class
The class that want to refer to this:
Public Class Class1
Private _def As _Default
End Class
The _def variable wont compile as _Default is not defined.
Is there a directive I'm missing?
I've just started in v2.0 and found that this code sn't working
The web page class:
Partial Class _Default
Inherits System.Web.UI.Page
End Class
The class that want to refer to this:
Public Class Class1
Private _def As _Default
End Class
The _def variable wont compile as _Default is not defined.
Is there a directive I'm missing?