When using NPOI which files should I add to Visual Studio in C#

橙三吉。 提交于 2019-12-12 06:37:02

问题


I have been trying to import everything from NPOI but it won´t let me use the library afterwards, so I´m thinking I´m importing the wrong things so if anyone knows that would be great.


回答1:


As pointed by Brian in comment to your question. Best way to include all library related to NPOI is NUGet Package Manager. Once it is successfully installed all needed library will appear in reference section of your current project. Then include the NPOI into your file like

using NPOI.SS.UserModel;
using NPOI.SS.Util;
using NPOI.XSSF.UserModel


来源:https://stackoverflow.com/questions/44286771/when-using-npoi-which-files-should-i-add-to-visual-studio-in-c-sharp

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!