Hello all, I want to update some data to a specific column of first row in a datatable using assign activity without suing loop. Can anyone help me with this?
HI @Aswini
Have you Tried with Write cell activity?
or
Use For each Row in Data Tbale activity (Inside the Loop)
Use Assign activity
Currentrow("ColumnName") = "Value"
Regards
Gokul
I have tried this but getting error “Exception has been thrown by Target of Invocation.”
Hello, i want to add to data table but not to excel.
Hi @Aswini
Check these steps:
- Double check that the column name is spelled correctly and exists in your Datatable.
- Verify that the Datatable is not null or empty.
- Ensure that the column data type matches the data type of the value you’re trying to assign.
i tried in Assign activity
Thanks for answering. I have tried the same but getting error ’ Exception has been thrown by Target of invocation. ’
Can you show the screenshot of how you are trying @Aswini
and try to run the code in debug mode then you will find out where the error occurs
1 Like
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.