Filter out the rows in Datatable based on conditions

Hi, I have used a linq query to filter the rows in the Datatable.

Can someone help me how to get the remaining rows after filtering without using filter Datatable activity.

Thanks in Advance!!!

@Konda_Sai_Charan_Goud

Try below expression.

dtRemaining = dtInput.AsEnumerable().Except(dtFiltered.AsEnumerable(),System.Data.DataRowComparer.Default).CopyToDataTable

Here, dtInput holds your Input DataTable and dtFiltered holds filter data from input.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.