can someone help me how can i add values to a data table in a ‘while’ activity? i use an assign activity DT.Rows(DT.Rows.Count-1).item(“column name”) = value that i want
it seems to have only insert correctly the first value, but don’t insert the second value next to come/replace the first value?.. (the data table is not updated with two values but only with one)
You can use a variable to save the DT.Rows.count-1 which will change everytime you add another value to the dt intVariable=intVariable+1.
Use this variable inside the dt.rows(intVariable).
each time i am entering the loop i want to have clear datatable, the first value is enter right but it doesn’t update the rows count in the datatable and its “says” all the time that there is only one row