Click here to Skip to main content
15,949,741 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
how do Compare Value textbox with database in asp using javascript

input value textbox and not equal with value field in database
Message value not equal
when click enter
Posted
Comments
[no name] 30-Apr-14 18:45pm    
And so what have you tried? What is the problem with the code that you have written?
DamithSL 30-Apr-14 21:13pm    
please update the question with your code
Thanks7872 1-May-14 1:46am    
Such questions are not welcomed here. We don't know what you have implemented till now. Show your code and explain what issue you faced with it.

1 solution

Hence you didn't put your code snippet,I can give your solution also as by using text. :)

It's like this.

Step 1: Enter your text value on your text box

Step 2 : After that do necessary client side validation on that (i.e empty string etc...)

Step 3 : When you click the button,according to your text value bring the data from the DB by using Ajax.

Step 4 : If your ajax request has any value then there is a record inside the DB and you can give a message to your client (e.g. Data already entered or ... ).

I hope this will help to you.
 
Share this answer
 
v2

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