|
-
May 20th, 2009, 01:18 PM
#1
Thread Starter
New Member
Urgent! Passing Variables - Website Using Visual Studio 2005
Hello,
I'm practicing creating a website for a test, although I am having trouble passing varialbes between the webpage with which the user logs in, and the web page in which the user sees/amends their details (it's an online bank).
Basically, I want the user to enter their customer ID and password, then click on the 'Login' button. When the user clicks on this, I want to display their details based upon their login info (ie their own, and nobody else's bank details).
To pass variables, i've tried using a method that I had used for my coursework:
Code:
Dim f2 As FirstWebPage f2 = New FirstWebPage f2.Owner = Me f2.ShowDialog()
On the webpage that will allow the user to see their bank details and change PIN number, I have tried this code:
Code:
Dim f1 As FirstWebPage f1 = Me.Owner accountID = f1.accountID cardNumber = f1.cardNumber
I'm getting absolutely nowhere, although i'm not sure whether this is down to the fact that asp is involved.
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|