摘要: 参考:http://blog.csdn.net/q107770540/article/details/6133484private static object GetPropertyValue(object obj, string property){ System.Reflection.PropertyInfo propertyInfo=obj.GetType().GetProperty(property); return propertyInfo.GetValue(obj, null);}主要用到以上方法。obj为要排序的对象,property为参数。一般linq查询出来的数据... 阅读全文
posted @ 2013-06-07 09:54 Uoolo 阅读(332) 评论(0) 推荐(0) 编辑