Click here to Skip to main content
15,911,035 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'd like to know how it is possible to pass values between two forms on Runtime.

For example, suppose I have a button on a form to log in ... now when I click on it, if the username and pass are correct then I want another form to pop up and show me the information found in a table in my database! And if the username and pass are wrong, then I want a message box saying access denied! Any help plzzzzz :confused::rose:
Posted
Updated 8-Dec-09 12:02pm
v4

create object of form and call the Show() method

myForm frm=new myForm();
frm.Show();
 
Share this answer
 
Go read a book.
What a waste of time.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900