摘要: 一、当查询得到的数据符合前台要求,不需要做任何处理,直接DataList To Json 返回前台。代码:1 var allEntities = service.QueryByPage(this.GetSearchFilter(searchModel), "InsertedDateUtc Descending", pageSize, searchModel.PageIndex + 1, out recordCount);2 return Json(allEntities, JsonRequestBehavior.AllowGet);前台得到的Json数据(两条记录) 1 [ 阅读全文
posted @ 2013-08-29 18:43 net515 阅读(13705) 评论(2) 推荐(0) 编辑