using System; using System.Collections.Generic; using System.Web; using System.Data; namespace Com.Jpsoft.Hospital.Web.Module.Proxy { /// /// Get 的摘要说明 /// public class Get : IHttpHandler { public bool IsReusable { get { return false; } } public void ProcessRequest(HttpContext context) { Warning(context); } private void Warning(HttpContext context) { Com.Jpsoft.Hospital.BLL.ts_ComplainRecord bll = new BLL.ts_ComplainRecord(); DataTable dt = bll.GetList(" IsProcess=0 and IsDel!=1").Tables[0]; context.Response.Write(dt.Rows.Count.ToString()); } } }