Esempio n. 1
0
        public JsonResult List(TransferHead model)
        {
            //构造成Json的格式传递
            //var result = new { iTotalRecords = 100, iTotalDisplayRecords = 10, data = list };
            var list = TransferDAL.LoadTransferDetailsByID(model.ID);

            return(Json(list, JsonRequestBehavior.AllowGet));
            //return Json(null, JsonRequestBehavior.AllowGet);
        }