前台aspx页面: <script type="text/javascript> $(function(){ $.ajax({ type: "Post", async: true, url: "UserList.aspx/DeleteUser", data: "{'Key':'" + userId + "'}", contentType: "application/json;charset=utf-8", dataType: "json", success: function (res) { alert('删除成功!'); window.location.href = window.location.href; }, error: function (d, c, e) { } }); }); </script> 后台cs文件: [WebMethod] public static string DeleteUser(string Key) { string tag = "F"; GGJ_Sys_Users user = users_bll.GetModel(int.Parse(Key)); user.DeleteUserID = 2; user.DeleteDate = DateTime.Now; user.DeleteMark = 1; try { users_bll.Update(user); tag = "T"; } catch (Exception) { tag = "F"; } return tag; } 或者你使用ajaxPro2页可以,很多方法