The source contains no DataRows?


hi guys, wanted some help I get this error when I compare two data table columns using linq.
In_DataTable1.AsEnumerable().Where(function(row) In_DataTable2.AsEnumerable().Select(function(r) r.Field(Of String)(In_DT2_ColName_To_Match.ToString)).Any(function(x) x = row.Field(Of String)(In_DT1_ColName_To_Match.ToString))).CopyToDataTable()

but if i use the same code to get non matching data rows it takes entire data table as unmatched
In_DataTable1.AsEnumerable().Where(function(row) Not In_DataTable2.AsEnumerable().Select(function(r) r.Field(Of String)(In_DT2_ColName_To_Match.ToString)).Any(function(x) x = row.Field(Of String)(In_DT1_ColName_To_Match.ToString))).CopyToDataTable()

any help guys?

Buddy

Welcome to UiPath community buddy

in think the query didnt give any output… kindly check once with the query buddy… @kishore.shetty