I have these two datatables and I want to get the difference between them. Here is an example:
Table1 ------------------------- ID | Name ---------------
Try this
DataTable dtmismatch = Table1.AsEnumerable().Except(Table2.AsEnumerable(), DataRowComparer.Default).CopyToDataTable();