here is my test program...
the program look like this ..
Public Class home
Inherits System.Web.UI.Page
Public iCustomerAccount As CustomerAccount.CustomerAccount = New CustomerAccount.CustomerAccount
Protected Sub but_submit_Click(ByVal sender As Object, ByVal e As System.EventArgs)...
I tried the syntax on my own class.. still can't access to that object. So I create another object -- iTextbox at form1, to isolate the possible problem in my class file
Public iTextbox As TextBox = New TextBox
I still can't access this iTextbox object at form2. Should I include some system...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.