How to split data and save in excel files

@Lea

Check below thread and follow the steps to resolve this issue.

AsEnumerable is not a member of 'System.Data.Datatable'