摘要:
/// summary /// 将集合类转换成DataTable /// /summary /// param name="list"集合/param /// returns/returns public static DataTable ToDataTable(IList list) { DataTable result = new DataTable(); if (list.Count 0) { PropertyInfo[] propertys = list[0].GetType().GetProperties(); foreach (PropertyInfo 阅读全文
posted @ 2010-12-31 14:01 一佳一 阅读(17196) 评论(1) 推荐(5) 编辑