Magicodes.IE
Magicodes.IE copied to clipboard
Import and export general library, support Dto import and export, template export, fancy export and dynamic export, support Excel, Csv, Word, Pdf and Html.
期望的结果应该是报错误 ```csharp [ImporterHeader(Name = "是否为GEO点")] [Required(ErrorMessage = "是否为GEO点不能为空")] [ValueMapping(text: "是", true)] [ValueMapping(text: "否", false)] public bool Geo { get; set; } ```
实现IExporterHeaderFilter,定义一个空的,也无效果。 
目前版本支持通过Dto的方式将多个数据源按Sheet拆分导出. 但好像不支持多个DataTable的多Sheet导出, ```csharp ExcelExporter.Append(ICollection dataItems, string sheetName = null) ``` 以上接口只支持ICollection ,是否考虑增加DataTable,如: ```csharp ExcelExporter.Append(DataTable dataTable, string sheetName = null) ```
 按照示例模板导出,增加合并的固定行名称,导出出现异常 - [√] Magicodes.IE.Excel - [ ] Magicodes.IE.Pdf - [ ] Magicodes.IE.Word - [ ] Magicodes.IE.Csv - [ ] Magicodes.IE.Html - [√] Magicodes.IE.AspNetCore #### package versions Magicodes.IE.Excel 2.6.4 `System.InvalidOperationException:...
Magicodes.IE.Excel中出现了一些不合理的PR代码,需要进行调整。
**Is your feature request related to a problem? Please describe.** IDK how to Export with Template into multiple sheet **Describe the solution you'd like** Add .Append function on IExportFileByTemplate
var filter = GetFilter(ExcelImporterSettings.ImportHeaderFilter);中的问题。 我想知道一下这个是可以支持注入Service层获取数据的吗?