Hi , I have 2 excel with huge data (10,000+) rows. I want to do a join and get the data so I have written Linq. However I am getting an error while running the code I have attached my code and the test files. Can some one please help me to understand what is wrong in my query.
I am getting an error “Assign: Object reference not set to an instance of an object.”
Oh I missed the Linq part, sorry. Just saw Join Datatable and thought he was using activities.
As per usual, I don’t see why it’s being complicated with Linq when it’s obviously a challenge, and activities would work fine. Sounds like another example of someone who thinks they need to, and thinks they are, avoiding loops by using Linq.
If you’re trying to merge two Excel files, can’t you just read one of them into a datatable with Read Range and then write it to the other file with Write Range? Or if you need to manipulate before writing the merged file, read both into datatables, manipulate with activities, then write both to the merge file. There doesn’t sound like a reason to try to merge the datatables.
Hi, I was able to fix the issue that I was getting by assigning it. Attached code. However is there any better way? If I use UiPath join activity it is taking too much time so I am going for Linq. Any better way so that I can have the better performance? Main.xaml (11.4 KB)