I'm using the NPOI
library to read a .xlsx
document and convert to dataSet
. When I try to instantiate the class XSSFWorkbook
, I get an error.
My code:
Dim file As New FileStream(myFile, FileMode.Open, FileAccess.Read)
Dim oDs As New List(Of entity.myFile)
Dim libro As New XSSFWorkbook(file)
I obtain the following error:
Unable to load the file or assembly 'ICSharpCode.SharpZipLib,
Version=0.86.0.518, Culture=neutral, PublicKeyToken=1b03e6acf1164f73'
or one of its dependencies. The system can not find the specified
file.
what's wrong here?