Click here to Skip to main content
15,920,217 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Actually i already created a login page,i.e.username and password and also connected to database,but when i click submit button it stored in database,but when i gave same username it also stored in database ,i want only distinct username,can anybody have some idea??

thanks in advance.
Posted

 
Share this answer
 
v2
Keep validation in userName_TextChanged event()
or in Submit_Click event.
 
Share this answer
 

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