how to check data with database

how to check data with database

i am new to J query ,  today is my second day.
I am working on a code which i need to modify .
Code is in ASP.net , J query and back end SQL server .

Question is:

how i check the value on a text box with database table .