If one of the excel columns is empty, then all the values get overlapped
WeihanLi opened this issue · 4 comments
WeihanLi commented
If one of the excel columns is empty, then all the values get overlapped, this happens when using this :
var entityList = ExcelHelper.ToEntityList<T>(string excelPath);
I tried using what i thought were column mappers
setting.Property(_ => _.DisplayName)
.HasColumnTitle("设置显示名称")
.HasColumnIndex(2);
but this proved to be innecfective.
So, whenever i have excel columns which are empty, I fill them with 1 blank space so the values are not overlapped when they are read by your excelhelper.
rcuzco commented
I really hope you can find a solution.
Thanks a lot for your time!
WeihanLi commented
ssanga commented
Now works nice, many thanks WeihanLi
WeihanLi commented
Thanks for your feedback.