This file's format is not supported or you don't specify a correct format. 解决办法

string path = @"c:\请假统计表.xlsx";
Workbook workBook = new Workbook();
workBook.Open(path);

Aspose.Cells;  版本是 4.4.0.5  最新版本好像没上面问题

执行上面语句报错:This file's format is not supported or you don't specify a correct format

错误原因  excel  版本问题 ,把excel  改为2003 excel  就可以啦

posted @ 2017-12-27 11:22  需要GIS小工具找我  阅读(5479)  评论(0编辑  收藏  举报