37

DataTable与List<T>互转-阿龙along的博客

 6 years ago
source link: http://blog.51cto.com/13492397/2083194
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
平时写代码的时候经常会遇到DataTable与List<T>之间的转换操作,由于DataTable数据集合不像List<T>指定了对应的T类型,所以在操作的时候没有List<T>方便,为了方便两个集合的转换,特此写下以下类记录两者之间的互换。classModelConvertHelper<T>whereT:new(){///<summary&g

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK