Comparing the two datatables for exception of common value

@k486kr
Welcome to the forum

dtResult =

(From d1 in dtDataA.AsEnumerable
Let c0 = d("Column1").toString.Trim
Where Not dtDataB.AsEnumerable.Any(Function (d2) d2("Column1").toString.Trim.Equals(c0))
Select r = d1).CopyToDatable

For handling empty results we can do:
:ambulance: :sos: [FirstAid] Handling of The source contains no DataRows exception - News / Tutorials - UiPath Community Forum