I have two DataTables, T1 and T2 both contain a Date field.
T1 contains around 5000 records and T2 contains around 400 records.
What I want to do is check if any of the records in T2 are in T1 (checking the Date field) and if they are delete them from T1.
I have tried using a for loop, but it has to loop over two million times.
Is there any better way of doing this?
Thanks for any help.
T1 contains around 5000 records and T2 contains around 400 records.
What I want to do is check if any of the records in T2 are in T1 (checking the Date field) and if they are delete them from T1.
I have tried using a for loop, but it has to loop over two million times.
Is there any better way of doing this?
Thanks for any help.