知行合一

享受过程 漠视结果

导航

2014年4月9日 #

list 转datatable

摘要: //public static DataTable ListToDataTable(List entitys) //{ // //检查实体集合不能为空 // if (entitys == null || entitys.Count < 1) // { // throw new Exception("需转换的集合为空"); // } // //取出第一个实体的所有Propertie // Type entityType ... 阅读全文

posted @ 2014-04-09 14:41 项羽 阅读(261) 评论(0) 推荐(0) 编辑