I am trying to download several spreadsheets at the same time using a loop.
the code I am using is the one I found in the FAQ:
// Create the workbook
XLWorkbook workbook = new XLWorkbook();
workbook.Worksheets.Add("Sample").Cell(1, 1).SetValue("Hello World");
// Prepare the response
HttpResponse httpResponse = Response;
httpResponse.ContentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
// Flush the workbook to the Response.OutputStream
using (MemoryStream memoryStream = new MemoryStream())
after sending the first sheet it ends and return to the page closing the loop
(i have already tried comenting //httpResponse.End();)
Thank`s for your help.