how i can compare the data of two datatables ( dt1 , dt2 ) and got the difference in a thrid one dt3

dt1 and dt2 Structure
ID
Date
Time
S1
S2
EmpID
IN\OUT

any help ? thank you

Recommended Answers

What difference exactly are you looking for? Rows in one that aren't in the other or changes to individual cells in a row?
Is the number of rows the same in both datatables?

Jump to Post

All 2 Replies

What difference exactly are you looking for? Rows in one that aren't in the other or changes to individual cells in a row?
Is the number of rows the same in both datatables?

i am looking for Rows in one that aren't in the other
and the number of are different

example if table1 has 1 2 3 4 5
and table 2 has 1 2 3 4 5 6 7
The difference is 6 7 put in a table 3

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.