Is it possible to do something like this?
2 Likes
Hi @whyyouandi,
Its not possible instead of this you can add from the build data table it self you can add the columns
Regards,
Arivu
Hello @arivu96, I was trying to add columns to an existing data scraping data, so I cannot use Build Data Table. But thank you for mentioning that it is not possible to do that at once
Yes, thank you.
@whyyouandi, You can add multiple columns in datatable using AddRange method.
Need to use Invoke Method
TargetObject - datatable Variable.Columns
MethodName - AddRange
Parameters -
IN - DataColumn[] - { new DataColumn ("columnName1"), new DataColumn ("columnName2") }
Regards,
Dom
7 Likes
HI @whyyouandi,
Good Idea @Dominic,
Its working fine
AddMultipleDataColumn.xaml (10.0 KB)
Regards,
Arivu
10 Likes