can any one help me
inputs
final output
HI,
Can you elaborate? Do you mean need to remove rows in the second table which exists in the first table?
Regards,
@Yes
I tried with 2 for each activity
Is there any linq?
Hi,
Can you try the following?
dt2.AsEnumerable.Except(dt1.AsEnumerable,data.DataRowComparer.Default).CopyToDataTable
Sample20230823-5L.zip (9.2 KB)
Regards,
thanks i tries with
dt1.AsEnumerable.Except(dt2.AsEnumerable,system.Data.DataRowComparer.Default).CopyToDataTable
I encounteres ad no datarow
now i have got the expected output
thanks @Nguyen_Van_Luong1
FYI, If there is possibility no rows exist in result, the following help you.
arrDr = dt2.AsEnumerable.Except(dt1.AsEnumerable,data.DataRowComparer.Default).ToArray
Regards,
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.