DataTable转化为List
摘要:
public List<T> ConvertToList<T>(DataTable dt) where T : new() { // 定义集合 List<T> ts = new List<T>(); // 获得此模型的类型 Type type = typeof(T); string tempName 阅读全文
posted @ 2016-04-05 16:49 itjeff 阅读(263) 评论(0) 推荐(0)
浙公网安备 33010602011771号