摘要:
[HttpPost] public ActionResult UploadExcel(HttpPostedFileBase file) { if (file != null && file.ContentLength > 0) { // 保存上传的文件 var path = Path.Combine 阅读全文
摘要:
public static byte[] ConvertDataTableToExcelBuffer(DataTable table) { ExcelPackage.LicenseContext = LicenseContext.NonCommercial; byte[] result = null 阅读全文