C# NPOI 导入与导出Excel文档 兼容xlsx, xls,完美解决The supplied data appears to be in the Office 2007+ XML. You are calling the part of POI that deals with OLE2 Office Documents. You need to call a different part of POI to process this data (eg XSSF instead of HSS