Add these System.Data.DataSetExtensions to reference and using System.Linq; to using class
– user5377037Aug 30 '17 at 18:13

Out of the two solutions, which would be faster?
– Paul AlexanderAug 29 at 11:15

1

@PaulAlexander: there isn't a great difference. But the old DataTable.Select syntax is limited whereas LINQ can use the full .NET framework or custom methods. So only if you are stuck to .NET 2 you should use DataTable.Select, otherwise i'd always prefer LINQ
– RangoAug 29 at 11:26

If you care about performance and have large datasets, tbl.Select() is dramatically faster than the other approaches.
– HerrimanCoderDec 3 at 18:39

@HerrimanCoder i doubt it since Select also uses a loop
– RangoDec 3 at 18:42