javascript - I need to validate free flow textbox value matches value from database table -


i need validate given name field in asp.net form.

user name: alex brandon

in database, have users table user_name column.

i need validate on lost focus of user name form field, exists in users table , valid else show alert.

does has ready solution this?

do want in javascript, or planning on trip server? if it's trip server (via asp.net ajax or postback) you'd have to.

select * users user_name=@name 

and set name parameter textbox value...

note unless care case, may want uppercase 2 names comparison.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -