How I can use in data scrpping suppose I have data table and that having 8 rows and I only want 5 rows so how I can add the condition for that?

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