public void ProcessRequest(HttpContext context) { context.Response.ContentType = "text/plain"; context.Response.Write("Hello World"); string id = context.Request["id"]; int showId = int.Parse(id); Client client = clientBll.SelectClient2(showId); string phone = client.Phone; if (clientBll.AdminDelete(showId) && replyBll.Delete2(phone) && feedBackBll.Delete2(phone)) { context.Response.Redirect("adminClient.aspx"); } else { context.Response.Write("删除失败"); context.Response.Write(id); } }