943,923 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Unsolved
  • Views: 29095
  • C# RSS
Sep 6th, 2006
-1

c# code for login and checking password

Expand Post »
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
Similar Threads
Reputation Points: 8
Solved Threads: 0
Newbie Poster
bestonearth is offline Offline
1 posts
since Sep 2006
Sep 6th, 2006
0

Re: c# code for login and checking password

then do it, you seem to know what you need, just implement it. And if you get stuck post some code.
Reputation Points: 23
Solved Threads: 6
Posting Pro
Dark_Omen is offline Offline
573 posts
since Apr 2004
Sep 6th, 2006
0

Re: c# code for login and checking password

Could be as simple as....

C# Syntax (Toggle Plain Text)
  1. if(tbUserName.Text != "username") //Textbox names tbUserName
  2. {
  3. MessageBox.Show("Wrong user name"); //show message
  4. }
  5. else
  6. {
  7. MessageBox.Show("Correct");
  8. }

That is as basic as it comes .
Team Colleague
Reputation Points: 84
Solved Threads: 99
<Insert title here>
tayspen is offline Offline
1,542 posts
since Jul 2005
Aug 9th, 2011
0
Re: c# code for login and checking password
@bestonearth - where are you going to compare userid and password? Code or Database? Be specific in asking help.

@jaryle - incorrect thread to post
Reputation Points: 8
Solved Threads: 4
Junior Poster in Training
muzikhera is offline Offline
54 posts
since Aug 2010

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: Open .exe file, edit memory, and resave
Next Thread in C# Forum Timeline: Ideas for Database help





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC