Magicodes.IE icon indicating copy to clipboard operation
Magicodes.IE copied to clipboard

DateOnly导入错误

Open yangliadmin opened this issue 1 year ago • 0 comments

Expected behaviour

Actual behaviour

DTO是DateOnly类型,导入是一个标准的日期,报错 Object of type 'System.Double' cannot be converted to type 'System.Nullable`1[System.DateOnly]' ,我把DTO改为字符串后发现一串数字,后面改为 DateTime就没问题了

  • Magicodes.IE.Excel

package versions

Example: Magicodes.IE.Excel 2.7.5.2

image

yangliadmin avatar Dec 06 '24 03:12 yangliadmin