示例#1
0
 /// <summary>
 ///     远程下载Excel文件,MVC中return new EmptyResult();
 /// </summary>
 /// <param name="response"></param>
 /// <param name="fileName"></param>
 public void Save(HttpResponseBase response, string fileName)
 {
     ExcelUtils.Save(Workbook, response, fileName);
 }
示例#2
0
 /// <summary>
 ///     本地保存Excel文件
 /// </summary>
 /// <param name="file"></param>
 public void Save(string file)
 {
     ExcelUtils.Save(Workbook, file);
 }