How to store values in to datatable by using rowindex

Is there is any method to store values to datatable by using rowindex, The values are available in the write cell but need to store it in to datatable.

Hey,

You can use Add data row Activity , it will add data in Data Table
Thanks,
Rounak

Other than Add data row is there is any other activity to fix this .

when the row already exists and we want to update:
YourDataTableVar.Rows(yourIndex)(ColNameOrIndex) = newValue

or updating the entire values by replacing the ItemArray
YourDataTableVar.Rows(yourIndex).ItemArray = new Object(){.........}

For inserting a new row on a particular position we can use the following method:

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