Click here to Skip to main content
15,885,985 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to match the username from database ?
without post back like 'odesk.com'

i want to use this like compare validater
any one can help me please ?

VB
Protected Sub btnSignup_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnSignup.Click
       con.Open()

       com.Connection = con
       com.CommandText = "SELECT userName FROM signUp WHERE userName =@userName"
       com.Parameters.Add(New SqlClient.SqlParameter("@userName", txtUsername.Text))
       Dim str As String = com.ExecuteScalar
       If str = "" Then

           lblusernametaken.Visible = False
       Else
           lblusernametaken.Visible = True
           Exit Sub
       End If
End sub 


i want to remove this button click event
plz help me


thank you
Posted
Updated 25-May-14 21:34pm
v2
Comments
soumyajayaraj 26-May-14 3:35am    
use Ajax
neeraj_ 26-May-14 4:27am    
please provide me code
if u have any
and tell me in detail plz

1 solution

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