Comments (3)
在模型类上添加ExcelExporter属性后问题消失,但是这样的隐藏关系也太诡异了
[AutoMap(typeof(Standard))]//这是automap的映射配置
[ExcelImporter(IsLabelingError = true)]//这个模型同时也用于导出模板
[ExcelExporter(Name = "标准")]
public class ImportExcelDto
{
public const int MaxLength = 1024;
/// <summary>
/// 规程类型
/// </summary>
[MaxLength(MaxLength)]
[Display(Name = "名称")]
[ExporterHeader("名称")]
public string Name { get; set; }
}
from magicodes.ie.
导入导出一起玩的我还没试过。晚点试试。
from magicodes.ie.
已修复没有定义导出特性会报错的情形,具体见单元测试“ExportTestDataWithoutExcelExporter_Test”。
from magicodes.ie.
Related Issues (20)
- 【建议功能】图片导出可以直接嵌入到单元格,否则数据做筛选排序时候图片不能正确排序
- imagesharp 可以升级到3.0版本吗 HOT 1
- 动态多Sheet导入 HOT 1
- excel固定模版导出使用SixLabors.ImageSharp 3.0版本报错 HOT 1
- 存在有excel文件读取workbook的时候获取不同步的问题 HOT 1
- 我想验证导入的数据,某列验证数据类型decimal,需要怎么搞
- wps 编辑后execl导入报错 The given key 'rId1' was not present in the dictionary HOT 3
- 调用 ExportByTemplate<T>(path, output, tplPath)的时候出错 HOT 4
- 如何对ExporterAttribute特性做全局设置? HOT 1
- 目前不支持交叉表导出吗?
- magicodes.ie.excel.aspnetcore 2.7.4.5在WindowServier 2012R2下运行The type initializer for 'SkiaSharp.SKFontStyle' threw an exception. HOT 6
- 空指针异常
- 导出设置ExporterHeader的宽度没有效果 HOT 1
- Magicodes.IE.Pdf无法读取本地文件(图片) HOT 1
- Linux Dcoker构建 .NET8 按HTML模版导出PDF 报错找不到libjpeg62,同样的环境.NET7打包运行后导出PDF就正常 HOT 2
- 一个项目用Magicodes.IE跟NPOI HOT 3
- windows service部署导出word异常
- 同一个数据源,Linux 下面速度慢30s没有导出,windows下5s就导出来了。
- Magicodes.IE 和npoi冲突
- Pls remove throw new ArgumentException("Tablename has spaces") at ExcelTableCollection.ValidateTableName,xlsx is allowed worksheet name Contains empty
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magicodes.ie.