예제 #1
0
파일: LogALL.ashx.cs 프로젝트: SubNing/ERP
        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)) + "}");
        }