is there an easy way to compare two columns in two datatable to see if they match?
I need to check if the values in column["x"] of datatable1 occur in column ["y"] of datatable2, without iterating through both tables (for each value in column of dt1, check column of dt2).
foreach (DataRow dr in dt1.rows)
but this checks the whole row and if finds an "x" in any column, "if" condition is true. I need to only check one column of dt2.
Tables have different columns but the same primary column and that's what I need to check
View Complete Post