sisibest

导航

2013年7月23日

DDDD

摘要: if (list != null && list.Count > 0) { result = new List(){ new { PageCount = list.Count, List = from s in list.Skip(pageSize * (pageIndex - 1)).Take(pageSize).OrderBy(p=>p.SupplierName) select new { Name = s.SupplierName,Id = s.SupplierId} } }; } 阅读全文

posted @ 2013-07-23 16:17 sisibest 阅读(401) 评论(0) 推荐(0) 编辑