1. 程式人生 > >This file's format is not supported or you don't specify a correct format. 解決辦法

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

版本問題 body ecif 新版 ted you cor spec asp

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 就可以啦

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