无法在ExcelJetcell库.Net中打开文件

时间:2018-08-20 10:27:54

标签: .net

这是我用来打开现有代码的代码。 excel中的日语内容。使用 ExceljetCell库

string sourceFilePath = ConfigurationManager.AppSettings["SourceFilePath"];
string destinationPath = ConfigurationManager.AppSettings["DestinationPath"];
int rndNumber = new Random().Next();
string fileName = "yymmdd【回収予測】案件名_(Conventional survey type).xlsx";
string destination = destinationPath + fileName.Split('.')[0] + rndNumber + 
".xlsx";
System.IO.File.Copy(sourceFilePath + fileName, destination); //copy
ExcelWorkbook workBook = ExcelWorkbook.ReadXLSX(sourceFilePath + fileName);

出现以下错误enter image description here

0 个答案:

没有答案