摘要:
public class MailUnit { public string smtp; public string from; public string pwd; public string to; public str... 阅读全文
posted @ 2015-12-16 23:17
Leo的日记本
阅读(175)
评论(0)
推荐(0)
摘要:
把包含 对象 数据的DataRow转换成 实体对象(泛型反射方式) public static T Row2Model(DataRow dr) where T : new() { T model = new T(); foreach (PropertyInfo p in (typeof(T)).GetProperties()) { ... 阅读全文
posted @ 2015-12-16 23:16
Leo的日记本
阅读(1432)
评论(0)
推荐(0)

浙公网安备 33010602011771号