Compare 2 datatables

You can use the for loop to do the comparison.

OPTION 1:-

for each row1 in dt1

for each row2 in dt2

if (row1(“Column Name”).tostring = row2(“Column Name”).tostring)
{take actions}

OPTION 2:-
Use LINQ

OPTION 3:-

USE join