摘要: /// 将集合类转换成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().GetPropert 阅读全文
posted @ 2011-08-05 18:54 dodo-yufan 阅读(669) 评论(0) 推荐(1) 编辑