How to iterate through datatables

Assumption: both datatable do have the same row count

We can do it by

For each row in Datatable Activity: row in dt1 - Index output: idx
grafik

  • Assign Activity: d1Value = row(ColumnNameOrIndex).toString
  • Assign Activity: d2Value = dt2.Rows(idx)(ColumnNameOrIndex).toString

OR
we can use a LINQ
[HowTo] LINQ (VB.Net) Learning Catalogue - Help / Something Else - UiPath Community Forum