Hi @Sami_Rajput ,
For this Data, we do not have a Key Value that we could use to map the data between the two datatables.
In such a case, we would require an understanding of whether we need to join rows based on the position of the row and whether the number of rows remain the same in both the Datatable.
The method of joining using row positions could be done in the below way :
- Add a new Column
Positionin both the Datatables. - Use a
For each Row in DatatableActivity and update the value ofPositionColumn in both the Datatables using anAssignActivity like below :
row("Position") = DT.Rows.IndexOf(row)
- After updation of
PositionColumn in Both the Datatables, we could useJoin DatatablesActivity to join the rows based on thePositioncolumn. - Now we have Joined Datatable which consists of columns present in both the Datatables.
- Using
Filter DatatableActivity orDefaultView.ToTable()we could preseve only the required columns.
Let us know your thoughts on the method.