摘要:
1 protected List<T> ConvertDataTableToTargetTypeList<T>(DataTable table) 2 { 3 List<T> list = new List<T>(); 4 Type typeInfo = typeof(T); 5 //得到T内所有的公共属性 6 PropertyInfo[] propertys = typeInfo.GetProperties(); 7 foreach (Dat... 阅读全文
posted @ 2011-12-14 21:50
Matrixcq
阅读(407)
评论(0)
推荐(0)
浙公网安备 33010602011771号