Hi everyone.
I have two excel files as attachments.
I want to check if any row in file1 is different with file2, then it will return false.
How to do that ?
Hi everyone.
I have two excel files as attachments.
I want to check if any row in file1 is different with file2, then it will return false.
How to do that ?
Hello There,
this way you could do comparison between 2 datatables/excels
Cheers,
Pankaj
Please try to use for each activity and put condition like i said. let’s see how you go
Hi Bro.
I think could not used for each activity… if read data from datatables to compare then should use for each row to compare one by one column.
Hi @trunghai you can do this in way
dt3 = dt1.AsEnumerable().Except(dt2.AsEnumerable(),System.Data.DataRowComparer.Default).CopyToDataTable
Then use an if condition to check the dt3 has rows or not , if dt3 has rows then the two datatable are different if not two datatables are same
Refer this workflow
sample_12.zip (2.6 MB)
Hope it helps you
Regards
Nived N
Happy Automation
Thanks you Bro
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.