2014年2月25日

ModelConvertHelper(将DataTable转换成List<model>)

摘要: public class ModelConvertHelper where T : new() { public static IList ConvertToModel(DataTable dt) { // Collection definition IList ts = new List(); // Get model type Type type = typeof(T); string tempName = ""; f... 阅读全文

posted @ 2014-02-25 13:50 Creater 阅读(801) 评论(0) 推荐(0)

导航