Click here to Skip to main content
15,919,931 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello,

I have a Data base table Products. I need to search Product Name from Asp.net page and if product name exists in DB, then I have to displey the result to grid. If they enter Wrong product name, then, I have to display a message.

Can I do this serach with JQUERY? Can any one please help me on this how to do with JQuery?

Thank you.
Posted

1 solution

Yes, you can. You can send a request via Ajax; and your ASP.NET server part is supposed to process a request and generate a page with search results. This way, main job is done on the server side. To do Ajax with jQuery, please see: http://api.jquery.com/category/ajax/[^].

—SA
 
Share this answer
 
Comments
vasini 11-Mar-13 13:54pm    
Thanks for the response. Can you please let me know in detail of this and any examples you have. Thank you.
Sergey Alexandrovich Kryukov 11-Mar-13 13:57pm    
Which part is not clear?
You need to write the solution by yourself. If you stuck, ask further questions.
—SA

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