摘要:
参考: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查询出来的数据... 阅读全文