摘要: public static T FillModel(DataRow dr) { if (dr == null || dr.ItemArray.Length == 0) return default(T); T model = Activator.CreateInstance(); foreach (PropertyInfo property in model.GetType().GetProperties(BindingFlags.Public | BindingFlags.Instance))//Bi... 阅读全文
posted @ 2013-08-30 13:53 牧马 阅读(249) 评论(0) 推荐(0) 编辑