I have three DataTable (DataTable1, DataTable2, DataTable3) which I create with the Build Data Table activity.
Each Data Table has two Int32 columns.
The columns in DataTable 1 and DatatTable 2 are filled with numbers. The columns in Data Table 3 are empty.
Now I want to perform the numbers from DataTable1 column 1 + DataTable2 column 1 and write them to DataTable3 column 1. The titration should be done in a For Each activity.
The Assign activity includes:
var_DataTable3(var_IndexForEachRow)(0) = Convert.ToInt32(var_DataTable1.Rows(var_IndexForEachRow)(0)) + Convert.ToInt32(var_DataTable2.Rows(var_IndexForEachRow)(0))