附件是excel 文件,我在使用以下代码读取文件的时候报错,求iceman及时帮助我解决,希望能够提供demo
fileStream = OperationControler.GetExcelFile(fileName, this.Context.Server.MapPath("~/TempPath/"));
this.importSpread.OpenExcel(fileStream, FarPoint.Excel.ExcelOpenFlags.NoFlagsSet);
if (this.importSpread.ActiveSheetView != null)
{
this.importSpread.ActiveSheetView.AllowPage = false;
this.importSpread.ActiveSheetView.ColumnHeader.Visible = false;
} |
|