How to add data to particular datatable

I need to add data to particular column in datatable.
Column 1. Column 2
Cash
I need to update value in column2 in the row which has cash

@sruthesanju

Use For Each row activity and declare a variable in index which is in property

Now you can use Assign activity and write as below

Datatable.Rows(indexvariable).Item(“Column2”) = Value

This will loop into your datatable and write the values in Column2

If you want to update only at particular row then

Use assign directly and write as Datatable.Rows(indexoftherow).Item(“Column2”) = Value

Hope this may help you

Thanks

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