You want to check the username exist , then onblur write a function that will return an an integer. e.,g
Create proc Check_Username_Existance
@Username varchar(30),
@Results int OUTPUT
as
set @Results = (select count(*) from Myusertable where Username = @Results)
and
in your C# you can write a code to check if the value of is greater than 0 , if there is , then the username exist
Thank you for posting at Dotnetfunda
[Administrator]
Suneel161, if this helps please login to Mark As Answer. |
Reply | Alert Moderator