Hello guys,
I am getting error while compare two data table using following query.
dt1.AsEnumerable().Where(function(row) dt2.AsEnumerable().Select(function(r) r.Field(Of Int32)( colname.ToString)).Any(function(x) x = row.Field(Of Int32)( colname.ToString))).CopyToDataTable()
.wanted to automate following Scenario
- Read first file having some rows and columns
- Read second file having some rows and columns
- compare both data table and select only unmatched rows[ which is not common]
- write range with unmatched rows into result file.