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

Ketsuekiame commented: This is not a free give away and do not downvote people who don't give you full working solutions -2

Recommended Answers

All 5 Replies

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.