Example #1
0
        public ActionResult Index2(int id)
        {
            int row = 0;
            List <salary_grantModel>    list = MyProperty.GetPageList(id, 5, ref row);
            Dictionary <object, object> dic  = new Dictionary <object, object>();

            dic["dt"] = list;
            dic["fy"] = row;
            string zhi = JsonConvert.SerializeObject(dic);

            return(Content(zhi));
        }