Need a help on Group By

Hi @Marian_B

Try this expression

Dt.AsEnumerable().GroupBy(Function(r) Tuple.Create(r("colName1"),r("colName2"))).Select(Function(g) g.First).CopyToDataTable

Regards
Gokul

3 Likes