Michele: modificato nome file excel

This commit is contained in:
michele 2024-04-11 09:12:08 +02:00
parent 21b32c2c71
commit 99fedbf64f

View File

@ -216,7 +216,8 @@ namespace VirtualTask.Controllers
//workbook.SaveAs($"C:\\Users\\utente\\Desktop\\ExcelVT\\buoni_{dateFile}.xlsx");
string contentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
string fileName = "authors.xlsx";
//string fileName = "authors.xlsx";
string fileName = $"buoni_{dateFile}.xlsx";
using (var stream = new MemoryStream())
{
workbook.SaveAs(stream);