Click here to Skip to main content
15,888,461 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to get sql database values from div using jquery ajax ?
Posted

There is a lot of code to be able to do this. You'll need a web service and you can call that from jQuery.ajax() method. Then in your webservice you'll need to use your SqlHelper classes or use SqlConnection and SqlCommand classes to run the sql you need. Then you return them and do whatever you need to do.
 
Share this answer
 
A comprehensive tutorial here involving php, json, and jquery ajax, hope it helps:

http://openenergymonitor.org/emon/node/107[^]
 
Share this answer
 

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