Copytodatatable' is not a member of 'system.collections.generic.ienumerable(of char)

Dear All,

I am using dt_modified.AsEnumerable().Take(3).CopyToDataTable() to get Top N Records from a DataTable but getting the following error . Can any one help on this.

copytodatatable’ is not a member of 'system.collections.generic.ienumerable(of char)


is ensured that the datatype of dt_modified is of DataTable?

Hi @dutta.marina

Check the DataType of the dt_modified

Regards
Gokul

1 Like

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