1、List<T>之间的转换
((List<object>)sourceList).Select(n => (T)n).ToList();
2、DataTable中的某一列转为List<T>
(from r in dataTable.AsEnumerable() select r.Field<string>("datname")).ToList<string>();
(from r in dataTable.AsEnumerable() select r.Field<int>("fid")).ToList<int>()