摘要: List转换DataTablepublic static DataTable ToDataTable(this IEnumerable results) { var resultTable = new DataTable(); var properties = typeof(T).GetProperties(); foreach (var info in properties) { var vtype = info.PropertyType; if (vtype == typeof(dou... 阅读全文
posted @ 2013-08-23 14:02 Loser0628 阅读(198) 评论(0) 推荐(0) 编辑