I have a DataTable with values:
ID NameID Name
1 1 qwe
2 2 ert
3 2 ert
4 3 dffg
5 3 dffg
I want to get a DataTable containing distinct rows like this:
ID NameID Name
1 1 qwe
2 2 ert
4 3 dffg
How can this be achieved using LINQ or other?
Test data setup: