问题
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