How to compare two csv files

I want to compare two csv files and want to display two data tables. one should contain the similarities and other one the differences.

When I tried this, the above errors are obtained.
Can someone please help!! I am new to uipath!
Thanks in advance.

1 Like

Thanks for the response.
But that didn’t work either.
I read somewhere the “.rows.Find” method is much more easier.
Can you help me with that…I am a newbie to UIPATH.

Below example might help.

  1. Create 2 data tables and read excel data into each data table
  2. Output the dataTable data into String Variable
  3. Add if Loop DataTable1<> DataTable 2

If you want line by line to read then use Get row and add if loop to compare and write into TXT/CSV file for error details