Posts by Marcelo Franco • 11 points
1 post
-
1
votes4
answers1297
viewsA: Download excel file
Use like this! private void ExportarParaExcel(){ DataTable odt = RetornaBuscaDoBanco(); using (XLWorkbook wb = new XLWorkbook()) { wb.Worksheets.Add(odt, "nomeaquivo"); Response.Clear();…