Click here to Skip to main content
15,891,423 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I need help with C# login screen. it needs to have a loop in it to cheack a username or password with in a array. then once found that the username and password is correct it goes into my other form.

can you also give code to answer
Posted
Updated 18-May-11 13:14pm
v2
Comments
Sergey Alexandrovich Kryukov 18-May-11 20:14pm    
Please don't post solutions which are actually not solutions. Such post will be deleted, and nobody will get e-mail notification. Instead, use "Improve question", "Add comment" or reply to comment.
--SA
Sandeep Mewara 19-May-11 2:37am    
Why to ask for code without making any effort on your side?

1 solution

Wrong approach, better to fire them to a database, check and authorise that way.

This may help[^]
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 18-May-11 20:13pm    
Down-voting this answer is not unfair (what's fair?), it just stupid. I voted 5, not to compensate but because I agree with your answer.
--SA
Dalek Dave 18-May-11 20:19pm    
Thanks, it seemed an odd way to deal with it, certainly not how I would go about it.
Sandeep Mewara 19-May-11 2:38am    
Not just it, here is OP's comment: yea i know. it for a school project and iam trying to get ride of one of three loops that have to be in the project.

Don't ask me - no idea of what he is talking of! :doh:

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