摘要: public static IList<T> Sort<T>(this IList<T> source, string sortProper, bool asc) { if (source != null && source.Any()) { var properties = typeof(T).GetProperties(); PropertyInfo pro = null; foreach (var item in properti... 阅读全文
posted @ 2012-10-12 16:05 kevinzw 阅读(595) 评论(5) 推荐(0) 编辑