I am stuck with an issue.
I have two datatables, with the same table structure, i need to select data from table1 such that the records arent existing in table2
is it possible to do this in vb.net? if yes then how?
Table1(AAno,Agencyname,location)
Table2(AAno,Agencyname,location)
Criteria:Select AAno,Agencyname,location from table1,table2 where table1.AAno<>table2.AAno
You could use
LINQ-to-DataSetandEnumerable.Exceptto find the rows in table1 that are not in table2. Assuming thatAAnois the primary key: