How to move the first 10 rows into a new DT

I wanted to take a larger DT , how do we move the first 10 rows into a new DT ?

@RajivKumar12 - you can try below with assign activity.

newDT = mainDT.AsEnumerable.Take(10).CopyToDatatable()

1 Like