Page Code
$("#btnSend").click(function () {
$.ajax({
type: "POST",
url: "../yourcontroller/youraction",
data: "name=bill&surname=gates",
dataType: "json",
success: function (result) {
// result is json
}
});// ajax end
Controller Code
public ActionResult addNameSurname(string name,string surname)
{
/* your insert */
return Json(false);
}




