我有 2 个数据表,它们具有相同的列但具有不同的数据,有时有些行共享相同的 ID
我想将那些加入到 table2 中某些行的 ID 在 table1 中不存在的表中
so if i the following tables
ID Name
1  A
2  B
3  C
ID Name
5  D
1  A
2  B
3  C
the from joining would be
ID Name
1  A
2  B
3  C
5  D
这是我尝试过的
 Dim q = From e In tbl1.AsEnumerable Join r In tbl2.AsEnumerable On e.Field(Of Integer)("id") Equals r.Field(Of Integer)("id")
但不知道如何将其保存到数据表中