Hi @Anonymouss ,
Step 1 : using assign, assign the number of rows you want to select to a int32 variable.
Step 2 : use the below statement to select the required number of rows.( assume n as your int32 variable.)
YourDataTableVar.AsEnumerable().Take(n).CopyToDataTable()
Hope this helps you out.!!
Please let me know if you need any condition with you want to pick the records will give you an alternative method.
Thanks,
Gautham.