VahidN / EPPlus.Core

EPPlus.Core is an unofficial port of the EPPlus library to .NET Core
GNU Lesser General Public License v3.0
370 stars 93 forks source link

work with a lot column #50

Open ekhtiari opened 5 years ago

ekhtiari commented 5 years ago

Summary of the issue

i have a file with 250 column if i want to work with this file i must write a command for a column to read or write. is there any way to read all of column with data and map to a class use by header or index? thanks

VahidN commented 5 years ago

It has methods like LoadFromDataTable or LoadFromCollection.

P.S. Don't forget this news.

ekhtiari commented 5 years ago

is there any way to read complete data from excel and map to class ? something like automapper ?

VahidN commented 5 years ago

Here is a sample about how to read an excel file. After reading it, use it, map it, etc.