http://bbs.csdn.net/topics/391085792
DataTable 老表= 新表.AsEnumerable().GroupBy(p => p[
"姓名"
]).SelectMany(p => p.GroupBy(s => s[
"年龄"
]).Select(x => x.First())).CopyToDataTable<DataRow>();
DataTable 老表= 新表.AsEnumerable().GroupBy(p => p[
"姓名"
]).SelectMany(p => p.GroupBy(s => s[
"年龄"
]).Select(x => x.First())).CopyToDataTable<DataRow>();