WeihanLi / WeihanLi.Npoi

NPOI Extensions, excel/csv importer/exporter for IEnumerable<T>/DataTable, fluentapi(great flexibility)/attribute configuration

Home Page:https://weihanli.github.io/WeihanLi.Npoi/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

List.Count in the method of ToEntityList<>

ZeguangZhang94 opened this issue · comments

If you have 2 rows of data, use the format brush to process the following 3 rows of the table. The List.Count = 5 after use ToEntityList<> .

Yeah, we treat null as empty line, when you export a null value it will generate empty line, you can use WithDataValidation filter to filter out null value or you can set the RowFilter to limit the row read, you can take this for example https://www.cnblogs.com/weihanli/p/13663897.html/https://www.cnblogs.com/weihanli/p/13934396.html

close this for that's by design, you can reopen it if you have more questions