How to add row values into Build DT by using the Add Data Row?

I want to add row.item(1) and row.item(2) values in buld dt along with vaiables which holds value which I want to add into Build Dt how to do this by using the Add Data Row Activity

Hi @Sanket_Shinde1
Use Build Data Data table acitivty and give the column names and store the output in a variable. In Add Data Row in Arrayrow you can add it in below way:

ArrayRow -> {row.item(1).ToString,row.item(2).ToString}
DataTable -> give the datatable name given for Build Datatable

Build DataTable
image
Output: dt1
Add Data Row pass the same dt1 datatable.

Regards

2 Likes

Thank You Varunraj, I will try and I will get back to you!

Sanket_Shinde1,

Please, follow the steps as below:

  1. Drag and Drop Build Data Table Activity and configure it as follow.
    image
  2. Use the Assign activity to create two variables of type string and initialize them.
    image
  3. Drag and drop the Add Data Row Activity and configure it.
    image

Cheers,

1 Like

Thank you so much Joes!!
Cheers!!!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.