hello all the members,
i'm new to .net and i want code for a window application in c# for entering the userid and password in windows form
hello all the members,
i'm new to .net and i want code for a window application in c# for entering the userid and password in windows form
Jump to Postthen do it, you seem to know what you need, just implement it. And if you get stuck post some code.
Jump to PostCould be as simple as....
if(tbUserName.Text != "username") //Textbox names tbUserName { MessageBox.Show("Wrong user name"); //show message } else { MessageBox.Show("Correct"); }
That is as basic as it comes ;).
then do it, you seem to know what you need, just implement it. And if you get stuck post some code.
Could be as simple as....
if(tbUserName.Text != "username") //Textbox names tbUserName
{
MessageBox.Show("Wrong user name"); //show message
}
else
{
MessageBox.Show("Correct");
}
That is as basic as it comes ;).
@bestonearth - where are you going to compare userid and password? Code or Database? Be specific in asking help.
@jaryle - incorrect thread to post
Hi i am also in need of the code for the UserID and password.
i want it to be retrieved from the database then compared to the one entered by the user on the login form.
eg: validation of the user name and password..
Please help, i just started programming
@Abby2012 please make a new thread instead of hi-jacking this dead one and someone will help.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.