I’m trying to skip the first row of the datatable variable TempAll but am unsure of the condition I need to place for the if statement and I believe that my botched attempt at converting the VB code for skipping the first row as seen in the Assign Activity is also another problem… any advise would be greatly appreciated
I got the VB code from this page on the UiPath forums
Do you mean want to write each row into different excel file from master file along with Column headers. I.e Each excel file should contain colummn headers and one row of data ?
Please try this
TempAll = TempAll.asenumerable().skip(1).copytoDatatable()
Hi thanks for replying, am met with an error regardless of whether its a lowercase or capital ‘E’.
thanks but the error still persists
Is it the same error or different error this time?
and yes I stopped the xaml file before writing the extension into notepad
Do you mind removing the whole sequence of IF statement? Sometimes the error go away after you recreating the activity after that.
Then try again by assign TempAll = TempAll.AsEnumerable().Skip(1).CopytoDataTable()
Else, try to create a new project with the assembly reference.
Thanks the first solution got rid of the problem!
Thanks Kah Liang and
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.