Hi
can anyone tell me?
How to connect MySQL database with Ajax?
Thanks in Advance
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jaganathan BantheswaranPosted Jul 15, 2011, 5:59 AM
Try like this,
Client side:
In Server side [C# code]:
protected void Page_Load(object sender, EventArgs e) { // Here is an example of an aspx page being loaded with // a GET HTTP request. We can use the QueryString // collection on the Reqest. string wordStr = Request.QueryString["age"]; if (wordStr != null) { // The query string "age" is there. Do something with database and return the value.. return; } }