Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Excel多Sheet 导入模板生成出错 #133

Closed
ZerekZhang opened this issue Aug 5, 2020 · 6 comments
Closed

Excel多Sheet 导入模板生成出错 #133

ZerekZhang opened this issue Aug 5, 2020 · 6 comments

Comments

@ZerekZhang
Copy link

Excel多Sheet 导入模板生成出错,好像不支持,还是如何使用?

@hueifeng
Copy link
Member

hueifeng commented Aug 5, 2020

Multiple Sheet exports can be referenced https://github.com/dotnetcore/Magicodes.IE/blob/master/docs/6.%E5%A4%9ASheet%E5%AF%BC%E5%85%A5.md , If there is a problem, you can feedback the details to us.

@ZerekZhang
Copy link
Author

image
这两个Sheet是如何生成的?
我使用
image这个方法生成模板后,是不对的?
Dto类如下:
image

@hueifeng
Copy link
Member

hueifeng commented Aug 5, 2020

SheetName needs to be changed.

ExcelImporter(SheetName="1班导入数据")

@ZerekZhang
Copy link
Author

image

如上图所示,是更改了名称的

@hueifeng
Copy link
Member

hueifeng commented Aug 5, 2020

Generating multiple Sheet templates is not supported, currently only multiple Sheet imports and exports are supported.

tanyongzheng added a commit to tanyongzheng/Magicodes.IE that referenced this issue Aug 7, 2020
hueifeng added a commit that referenced this issue Aug 7, 2020
feat:Excel多Sheet 导入模板生成 #133
@hueifeng
Copy link
Member

We released 2.3.0-beta6 which can be updated in the following way.

PM> Install-Package Magicodes.IE.Excel -Version 2.3.0-beta6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants