Hi i have two javascript values and i want to store that values in the gridview so hows this is possible
1 Answer
If you want to update your database with values in javascript then you can use AJAX. Issue a POST request to the server and call your desired method from your code behind file.
Edit
You can build an XMLHTTPRequest object and using its different methods you can build a post request.
You can start from here
If you can use a framework like jQuery it has lot of inbuilt function for performing ajax tasks. Take a look at jQuery AJAX.
-
but give me example of that ajax example of postingKhilen– Khilen02/06/2010 07:03:57Commented Feb 6, 2010 at 7:03