How to compare 2 datatable and remove data in 2nd table which are not matching?

HI,

Hope the following sample helps you.

arrDr = dt2.AsEnumerable.Except(dt1.AsEnumerable,DataRowComparer.Default).ToArray

Sample20221128-3.zip (14.5 KB)

Regards,