Verifying User Name and Password?

qadeer37

Well-known member
Joined
May 1, 2010
Messages
63
Location
Hyderabad,pakistan
Programming Experience
1-3
I have listBox control of user objects where each object has userName and Password.
What I want to do is when a user enters userName and Password a method goes through the listBox checks for whether userName exists or not and if userName exists then matches the password.

What I have in my mind is that to use for each loop but I think it would become complex so is there any better way?
:(
 
Back
Top