I have two data tables as follows
dtOne ------------------------- ID | Name -------------------------- 101 | ABC 102 | XYZ 103 | MNO ---------
TO get it work its better to use Linq To DataSet will resolve it easily..
DataTable table1= ds.Tables["table1"]; DataTable table2= ds.Tables["table2"]; var diff= table1.AsEnumerable().Except(table2.AsEnumerable(), DataRowComparer.Default);