Check User Name Already Exists in Asp.Net |
|
Answered By
Moderator1
on
3/12/2010 12:39:45 AM |
|
|
|
|
Hi,
1. Take the Input for User Name from the Registration Form.
2. Pass it to a SQL Query to check whether the User Name Exists in your DB as follows
Select * from YourRegistrationTable Where User_Id=@InputUserId
If Row Exists, then display "User Name Already Exists. Please input different User Name" |
|
|
|