R
Rob R. Ainscough
ASP.NET with VB.NET using 2.0 framework
I've created a class (myClass) under App_Code specific to my web
application.
I have a method in myClass called Display:
Public Function Display(ByRef aWebPage As Web.UI.Page) As Boolean
Select Case aWebPage.Page.ToString
Case "ASP.CustomerValidation"
End Select
End Function
What I would rather do is overload the Display function using specific page
references contained in my web application.
Public Overloads Function Display(ByRef CustomerPage as ????) As Boolean
.....
Public Overloads Function Display(ByRef PaymentPage as ???) As Boolean
.....
assume I have a a CustomerPage.aspx and a PaymentPage.aspx in my web
application
How do I make direct references to this pages from the myClass.Display()
method?
Thanks, Rob.
I've created a class (myClass) under App_Code specific to my web
application.
I have a method in myClass called Display:
Public Function Display(ByRef aWebPage As Web.UI.Page) As Boolean
Select Case aWebPage.Page.ToString
Case "ASP.CustomerValidation"
End Select
End Function
What I would rather do is overload the Display function using specific page
references contained in my web application.
Public Overloads Function Display(ByRef CustomerPage as ????) As Boolean
.....
Public Overloads Function Display(ByRef PaymentPage as ???) As Boolean
.....
assume I have a a CustomerPage.aspx and a PaymentPage.aspx in my web
application
How do I make direct references to this pages from the myClass.Display()
method?
Thanks, Rob.