datatable类型数据导出excel服务数值型默认是文本方式保存,字段标题重复会报错 #3244
-
Is there an existing issue for this?
Describe the bug
直接使用miniexcel导出没这两个问题, 所以应该是数据转换部分需要特殊处理一下 Expected BehaviorNo response Steps To ReproduceNo response Exceptions (if any)No response .NET VersionNo response Anything else?No response |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
@densen2014 Thank you for filing this issue. In order for us to investigate this issue, please provide a minimalistic repro project that illustrates the problem. |
Beta Was this translation helpful? Give feedback.
-
FormatValue(pi, Utility.GetPropertyValue(item, pi.GetFieldName()));会导出为文本 |
Beta Was this translation helpful? Give feedback.
-
键值不可重复问题内部逻辑不用 FormatValue 问题这个是很多人要的功能,目前没办法直接去掉,正确的思路应该是如何把 C# 中的格式化字符串给 |
Beta Was this translation helpful? Give feedback.
-
格式化数值没法处理了. 自己业务只能自己写一下吧 |
Beta Was this translation helpful? Give feedback.
-
对啊。格式化的问题,目前就需要自己写了。内置的肯定变成 |
Beta Was this translation helpful? Give feedback.
-
增加导出配置类
导出接口方法增加配置类参数
更新依赖包
|
Beta Was this translation helpful? Give feedback.
增加导出配置类