摘要: //获取实体类里面所有的名称、值、DESCRIPTION值 public string getProperties<T>(T t) { string tStr = string.Empty; if (t == null) { return tStr; } System.Reflection.PropertyInfo[] properties = t.GetType().GetProperties(System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.Public); if (properti 阅读全文
posted @ 2011-05-31 10:25 潇客的技术博客 阅读(7026) 评论(0) 推荐(0) 编辑