一般处理程序ashx接收post参数

$.ajax({
type: 'POST',
url: '../ashx/ExportData.ashx?type=NonZhengshen',

//contentType: "application/json; charset=utf-8",
//dataType: 'JSON',

data: {"detail":Detail},
success: function (data) {

},
error: function (err) {
alert(err.status);
}
})

 

ashx:

  string Content = context.Request.Form["detail"];

posted on 2015-11-09 17:00  不小心而已  阅读(11926)  评论(0编辑  收藏  举报