G
Guest
I need some help with user names and passwords (five users and one password
for each user). I have two txtboxes (txtName, txtPassword). If a user
clicks enter and both are empty then a message is displayed, "enter user
name." If just the name is entered the message "enter password." If wrong
name and right password then message "re-enter name." If right name and
wrong password message "valid name, wrong password." I cant figure this out,
can someone help me please? The names are tied to a passwords, for example a
user might have 123 for a name and a password of 456
for each user). I have two txtboxes (txtName, txtPassword). If a user
clicks enter and both are empty then a message is displayed, "enter user
name." If just the name is entered the message "enter password." If wrong
name and right password then message "re-enter name." If right name and
wrong password message "valid name, wrong password." I cant figure this out,
can someone help me please? The names are tied to a passwords, for example a
user might have 123 for a name and a password of 456