public void ProcessRequest(HttpContext context) { context.Response.ContentType = "text/plain"; int index = Convert.ToInt32(context.Request["rows"]); int rows = Convert.ToInt32(context.Request["page"]); context.Response.Write("{\"total\":" + NoticeManager.LogZong() + ",\"rows\":" + JsonConvert.SerializeObject(NoticeManager.LogAll(index, rows)) + "}"); }