How to filter rows in DT for same value in two columns?

Hi @ozgecatak ,

The Linq query used converts the Filtered rows according to the condition directly to a Datatable using .CopyToDatatable but in cases where the condition fails we do not have any filtered rows and hence we get the error as seen.

To handle that we already have a Tutorial Post on it, Do check it and let us know if you were able to make the necessary changes :