Esempio n. 1
0
        public void QueryRecordList(HttpContext context)
        {
            RecordDAO     dao       = new RecordDAO();
            String        condition = context.Request["condition"];
            List <Record> lst       = dao.Query(condition);

            context.Response.Write(JsonConvert.SerializeObject(new { Result = 1, Msg = "获取全部数据成功!", data = lst }));
        }