you can modifiy the MaxNumberOfResult parameter to 5 (datascrapping)
Or
- Extract all data - output: ExtractData
- slice rows with the help of skip/take
Taking the first 5 rows:
Assign Activity:
dtNew = ExtractData.AsEnumerable().Take(5).CopyToDataTable
taking row 2,3,4,5,6:
Assign Activity:
dtNew = ExtractData.AsEnumerable().Skip(1).Take(5).CopyToDataTable