dc

dc

  • NA
  • 663
  • 0

web from using ajax

Aug 24 2016 2:03 PM

In a vb.net 2010 web form application I want to do the following: 1. Create a new ajax web page, 2. Use an ajax method that is called from a javascript function and pass parameters to that page. 3.  Return the result from ajax and display an error message to the user.

The purpose of the call is to obtain data from a sql server 2012 database and pass the results back to the javascript function. If an error message is needed, this will be detemined by the results of the call to the database.

Thus can you tell me if the above is possible and show me the code on how to accomplish this goal?

If this solution does not work, can you suggest what would work and showe me the code on how to do what you suggested?


Answers (4)