Michele: modifica path destinazione excel
This commit is contained in:
parent
1ea0a66479
commit
0c89e3f7be
@ -3,6 +3,7 @@ using ClosedXML.Excel;
|
||||
//using DocumentFormat.OpenXml.Spreadsheet;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.AspNetCore.Mvc.Rendering;
|
||||
using Microsoft.Office.Interop.Excel;
|
||||
using Newtonsoft.Json;
|
||||
using System.Diagnostics;
|
||||
using VirtualTask.Models;
|
||||
@ -184,7 +185,9 @@ namespace VirtualTask.Controllers
|
||||
|
||||
var dateFile = anno + mese + giorno + ore + minuti + secondi;
|
||||
|
||||
workbook.SaveAs($"C:\\Users\\utente\\Desktop\\ExcelVT\\buoni_{dateFile}.xlsx");
|
||||
//workbook.SaveAs($"C:\\Users\\utente\\Desktop\\ExcelVT\\buoni_{dateFile}.xlsx");
|
||||
|
||||
workbook.SaveAs($"..\\..\\BuoniVT\\buoni_{dateFile}.xlsx");
|
||||
|
||||
return RedirectToAction("Index");
|
||||
}
|
||||
|
||||
@ -27,6 +27,7 @@
|
||||
<div style="float:left;width:2%;"> </div>
|
||||
</div>
|
||||
}
|
||||
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user