In vb.net I have two datatables, dt1
and dt2
. Both have only one column.
Now I need another table dt3
which should have the rows of dt1
that are not present in dt2
.
I tried to do with LINQ:
Dim results = From table1 In dt1
Join table2 In dt2 On table1(0) Equals table2(0)
Select table1(0)
But this returns only that are matching. But I need the opposite (rows not there in dt2
).
Is it possible doing without LINQ?