I would suggest to start with the select method, could be easier to start with:
https://www.csharp-examples.net/dataview-rowfilter/
here the part Convert Function like: “Convert(total, ‘System.Int32’) = 2”
In Linq it would look like:
(From d In YourDataTableVar.AsEnumerable
Where CInt(d(YourColNameOrIndex).toString.Trim) = 5
Select d).CopyToDataTable
with the assumption that the filter result is not empty otherwise CopyToDataTable throws an exception. If there is a risk of empty result then it can be handled as here: