Beispiel #1
0
        //public void JqgridGetEmployeeInfo()
        //{
        //    //分页
        //    int pageIndex = 0;
        //    int pageSize = 999;
        //    EmployeeDal ed = new EmployeeDal();
        //    //业务层:数据库操作
        //    string json = ed.JqgridGetEmployeeInfo(pageIndex, pageSize);
        //    c.Response.Write(json);
        //}
        public void JqgridGetModels()
        {
            EmployeeDal ed = new EmployeeDal();

            //业务层:数据库操作

            string json = ed.JqgridGetEmployeeInfo(0, 999);;

            c.Response.Write(json);
        }
Beispiel #2
0
        public void EasyUIGetEmployeeInfo()
        {
            //分页
            int pageIndex = 0;
            int pageSize = 999;

            EmployeeDal ed = new EmployeeDal();

            //业务层:数据库操作
            string json = ed.EasyUIGetEmployeeInfo(pageIndex, pageSize);

            c.Response.Write(json);
        }
Beispiel #3
0
        public void ZMJUIGetEmployeeInfo()
        {
            //分页
            int pageIndex = Convert.ToInt32(c.Request["pageIndex"]);
            int pageSize = Convert.ToInt32(c.Request["pageSize"]);

            EmployeeDal ed = new EmployeeDal();

            //业务层:数据库操作
            string json = ed.EFZMJUIGetEmployeeInfo(pageIndex, pageSize);

            c.Response.Write(json);
        }