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

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

PostgreSQL 9.x - pg_read_binary_file & inserting files into bytea -

asp.net - call stack missing info on mono with apache and mod_mono -