StephanyLin
New member
- Joined
- Aug 31, 2011
- Messages
- 3
- Programming Experience
- Beginner
I am facing the problem as the one Robawtic was asking. I know theoretically it should be very simple and straightforward, but I just can't get my other page to access to the object created at Login page.
I've changed the form class from partial class to public class. Code are like below.
Public Class home
Inherits System.Web.UI.Page
Public iFirstTimeLoad As Boolean = True
Public Shared iCustomerAccount As New CustomerAccount.CustomerAccount()
End Class
Still no luck.
Can you tell me where I did wrong. I used to programming with VB, but VB .NET is so different from VB6. That is also the reason brought me to this forum.
Thanks.
Steph
I've changed the form class from partial class to public class. Code are like below.
Public Class home
Inherits System.Web.UI.Page
Public iFirstTimeLoad As Boolean = True
Public Shared iCustomerAccount As New CustomerAccount.CustomerAccount()
End Class
Still no luck.
Can you tell me where I did wrong. I used to programming with VB, but VB .NET is so different from VB6. That is also the reason brought me to this forum.
Thanks.
Steph
Last edited: