摘要:
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... 阅读全文