Michele: modificato nome file excel
This commit is contained in:
parent
21b32c2c71
commit
99fedbf64f
@ -216,7 +216,8 @@ namespace VirtualTask.Controllers
|
|||||||
|
|
||||||
//workbook.SaveAs($"C:\\Users\\utente\\Desktop\\ExcelVT\\buoni_{dateFile}.xlsx");
|
//workbook.SaveAs($"C:\\Users\\utente\\Desktop\\ExcelVT\\buoni_{dateFile}.xlsx");
|
||||||
string contentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
|
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())
|
using (var stream = new MemoryStream())
|
||||||
{
|
{
|
||||||
workbook.SaveAs(stream);
|
workbook.SaveAs(stream);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user