谁能告诉,如何获得 LINQ 查询的结果包含 group by to DataTable 。
var query= from d in dtable.AsEnumerable()
group d by d["Id"];
WId FirstName LastName Age
1 Jass we 23
1 Mady wer 54
3 Servy gr 22
4 Jan fr 11
Expected
WId FirstName LastName Age
1 Jass we 23
3 Servy gr 22
4 Jan fr 11
谢谢普拉迪普