How to append a datatable after the last row of other datatable using the primary key

Hi All,

I have to append a datatable DT2 after the lst row of datatable DT1 on the basis of primary key.

-Get the data table DT1 row count (DT1.rows.count). You will get the last row index
-Use the write range actiity for DT2 after last column index(DT1 count) in DT1 data table

revert me back if you get any issues