摘要: public static string ToIds<T>(this List<T> list, string filedName) { if (list.Count() > 0) { StringBuilder sBuilder = new StringBuilder(); PropertyInfo[] properties = list[0].GetType().GetProperties(); foreach (var v in list) sBuilder.AppendFormat("'{0}',", propertie 阅读全文
posted @ 2012-03-23 19:58 wangsufei 阅读(168) 评论(0) 推荐(0) 编辑