DataTableExtensions

Hi All
I m trying to drop the first 4 row of a datable using the below code with assign activity
newsheetData= sheetData.AsEnumerable.skip(4).CopyToDataTable
but i get the below erroe i m using C# when i use VB it works…requirement i have to use C#
image

Hi @FaraiHuruba

Maybe try this newsheetData= sheetData.AsEnumerable().skip(4).CopyToDataTable()

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.