Export to excel using backgroundworker The 2019 Stack Overflow Developer Survey Results Are InHow to create Excel (.XLS and .XLSX) file in C# without installing Ms Office?How do I properly clean up Excel interop objects?Import and Export Excel - What is the best library?exporting gridview to Ms Excel 2007Export DataGridView to Excel Filerepeater: retrieve columns headers from databaseWord ,excel files not display in browserHow do I format my export to excel workbook in microsoft.office.interop.excel?Export data with images to ExcelHow to Convert Table into a Normal Range of cells while exporting excel in c#
Deal with toxic manager when you can't quit
How to display lines in a file like ls displays files in a directory?
Worn-tile Scrabble
When should I buy a clipper card after flying to Oakland?
Why are there uneven bright areas in this photo of black hole?
Geography at the pixel level
Is bread bad for ducks?
How to notate time signature switching consistently every measure
Getting crown tickets for Statue of Liberty
Correct punctuation for showing a character's confusion
Slides for 30 min~1 hr Skype tenure track application interview
What is this business jet?
How come people say “Would of”?
Keeping a retro style to sci-fi spaceships?
Output the Arecibo Message
What is this sharp, curved notch on my knife for?
Flight paths in orbit around Ceres?
Why can't devices on different VLANs, but on the same subnet, communicate?
Did any laptop computers have a built-in 5 1/4 inch floppy drive?
What could be the right powersource for 15 seconds lifespan disposable giant chainsaw?
Get name of standard action overriden in Visualforce contorller
Mathematics of imaging the black hole
Is Cinnamon a desktop environment or a window manager? (Or both?)
Is it possible for absolutely everyone to attain enlightenment?
Export to excel using backgroundworker
The 2019 Stack Overflow Developer Survey Results Are InHow to create Excel (.XLS and .XLSX) file in C# without installing Ms Office?How do I properly clean up Excel interop objects?Import and Export Excel - What is the best library?exporting gridview to Ms Excel 2007Export DataGridView to Excel Filerepeater: retrieve columns headers from databaseWord ,excel files not display in browserHow do I format my export to excel workbook in microsoft.office.interop.excel?Export data with images to ExcelHow to Convert Table into a Normal Range of cells while exporting excel in c#
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
How to Implement backgroundworker or thread in ASP.Net(C#) WEB Application for Exporting Large amount of Data in to Excel? Is there any another approach to export to excel in background?
<%@ Page Title="" Language="C#" MasterPageFile="~/export_module.master"
AutoEventWireup="true" CodeFile="GenerateReport.aspx.cs"
Inherits="" Async="true" %>
public readonly BackgroundWorker worker = new BackgroundWorker();
protected void Page_Load(object sender, EventArgs e)
if (!Page.IsPostBack)
worker.WorkerReportsProgress = true;
worker.WorkerSupportsCancellation = true;
worker.DoWork += new DoWorkEventHandler(DoWork);
//worker.ProgressChanged += new ProgressChangedEventHandler(WorkerProgressChanged);
worker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(WorkerCompleted);
//Export To Excel Click event
protected void btn_Export_Click(object sender, EventArgs e)
if (!worker.IsBusy)
worker.RunWorkerAsync("ExportReport");
//BackgroundMethod
private void DoWork(object sender, DoWorkEventArgs e)
exportToExcel();
private void WorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
//Export To Excel Using ClosedXML
public void ExportReportWithHeaderClosedXML(string reportName, string fileName, DataTable dataTable)
int usedCells = dataTable.Columns.Count;
string ReportDate = string.Empty;
string attachment = "inline;filename=" + fileName + ".xlsx";
using (XLWorkbook wb = new XLWorkbook())
//Add method of ClosedXML class library only accepts worksheet name of 31 characters.
IXLWorksheet worksheet = wb.Worksheet(1);
//Insert Report Data
worksheet.Cell(4, 1).InsertTable(dataTable);
HttpContext.Current.Response.Clear();
HttpContext.Current.Response.ClearContent();
HttpContext.Current.Response.ClearHeaders();
HttpContext.Current.Response.Buffer = true;
HttpContext.Current.Response.ContentType = "application/vnd.ms-excel";
HttpContext.Current.Response.AddHeader("Content-Disposition", "inline;filename=" + fileName + ".xlsx");
using (MemoryStream MyMemoryStream = new MemoryStream())
wb.SaveAs(MyMemoryStream);
MyMemoryStream.WriteTo(HttpContext.Current.Response.OutputStream);
HttpContext.Current.Response.End();
c# asp.net excel export-to-excel closedxml
add a comment |
How to Implement backgroundworker or thread in ASP.Net(C#) WEB Application for Exporting Large amount of Data in to Excel? Is there any another approach to export to excel in background?
<%@ Page Title="" Language="C#" MasterPageFile="~/export_module.master"
AutoEventWireup="true" CodeFile="GenerateReport.aspx.cs"
Inherits="" Async="true" %>
public readonly BackgroundWorker worker = new BackgroundWorker();
protected void Page_Load(object sender, EventArgs e)
if (!Page.IsPostBack)
worker.WorkerReportsProgress = true;
worker.WorkerSupportsCancellation = true;
worker.DoWork += new DoWorkEventHandler(DoWork);
//worker.ProgressChanged += new ProgressChangedEventHandler(WorkerProgressChanged);
worker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(WorkerCompleted);
//Export To Excel Click event
protected void btn_Export_Click(object sender, EventArgs e)
if (!worker.IsBusy)
worker.RunWorkerAsync("ExportReport");
//BackgroundMethod
private void DoWork(object sender, DoWorkEventArgs e)
exportToExcel();
private void WorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
//Export To Excel Using ClosedXML
public void ExportReportWithHeaderClosedXML(string reportName, string fileName, DataTable dataTable)
int usedCells = dataTable.Columns.Count;
string ReportDate = string.Empty;
string attachment = "inline;filename=" + fileName + ".xlsx";
using (XLWorkbook wb = new XLWorkbook())
//Add method of ClosedXML class library only accepts worksheet name of 31 characters.
IXLWorksheet worksheet = wb.Worksheet(1);
//Insert Report Data
worksheet.Cell(4, 1).InsertTable(dataTable);
HttpContext.Current.Response.Clear();
HttpContext.Current.Response.ClearContent();
HttpContext.Current.Response.ClearHeaders();
HttpContext.Current.Response.Buffer = true;
HttpContext.Current.Response.ContentType = "application/vnd.ms-excel";
HttpContext.Current.Response.AddHeader("Content-Disposition", "inline;filename=" + fileName + ".xlsx");
using (MemoryStream MyMemoryStream = new MemoryStream())
wb.SaveAs(MyMemoryStream);
MyMemoryStream.WriteTo(HttpContext.Current.Response.OutputStream);
HttpContext.Current.Response.End();
c# asp.net excel export-to-excel closedxml
what do you mean by large amount of data ?
– B N
Mar 22 at 5:10
its more than 40,000 rows which will take time for rendering excel file and makes browser unresponsive so i am trying to generate report in background so that it will not stop user to work on other task
– user3629270
Mar 22 at 5:12
40K data is not a large amount of data. It depends on how you write the code and all other dependencies in your application
– B N
Mar 22 at 5:14
There is complex pivoting on data so excel takes time to render data
– user3629270
Mar 22 at 5:20
add a comment |
How to Implement backgroundworker or thread in ASP.Net(C#) WEB Application for Exporting Large amount of Data in to Excel? Is there any another approach to export to excel in background?
<%@ Page Title="" Language="C#" MasterPageFile="~/export_module.master"
AutoEventWireup="true" CodeFile="GenerateReport.aspx.cs"
Inherits="" Async="true" %>
public readonly BackgroundWorker worker = new BackgroundWorker();
protected void Page_Load(object sender, EventArgs e)
if (!Page.IsPostBack)
worker.WorkerReportsProgress = true;
worker.WorkerSupportsCancellation = true;
worker.DoWork += new DoWorkEventHandler(DoWork);
//worker.ProgressChanged += new ProgressChangedEventHandler(WorkerProgressChanged);
worker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(WorkerCompleted);
//Export To Excel Click event
protected void btn_Export_Click(object sender, EventArgs e)
if (!worker.IsBusy)
worker.RunWorkerAsync("ExportReport");
//BackgroundMethod
private void DoWork(object sender, DoWorkEventArgs e)
exportToExcel();
private void WorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
//Export To Excel Using ClosedXML
public void ExportReportWithHeaderClosedXML(string reportName, string fileName, DataTable dataTable)
int usedCells = dataTable.Columns.Count;
string ReportDate = string.Empty;
string attachment = "inline;filename=" + fileName + ".xlsx";
using (XLWorkbook wb = new XLWorkbook())
//Add method of ClosedXML class library only accepts worksheet name of 31 characters.
IXLWorksheet worksheet = wb.Worksheet(1);
//Insert Report Data
worksheet.Cell(4, 1).InsertTable(dataTable);
HttpContext.Current.Response.Clear();
HttpContext.Current.Response.ClearContent();
HttpContext.Current.Response.ClearHeaders();
HttpContext.Current.Response.Buffer = true;
HttpContext.Current.Response.ContentType = "application/vnd.ms-excel";
HttpContext.Current.Response.AddHeader("Content-Disposition", "inline;filename=" + fileName + ".xlsx");
using (MemoryStream MyMemoryStream = new MemoryStream())
wb.SaveAs(MyMemoryStream);
MyMemoryStream.WriteTo(HttpContext.Current.Response.OutputStream);
HttpContext.Current.Response.End();
c# asp.net excel export-to-excel closedxml
How to Implement backgroundworker or thread in ASP.Net(C#) WEB Application for Exporting Large amount of Data in to Excel? Is there any another approach to export to excel in background?
<%@ Page Title="" Language="C#" MasterPageFile="~/export_module.master"
AutoEventWireup="true" CodeFile="GenerateReport.aspx.cs"
Inherits="" Async="true" %>
public readonly BackgroundWorker worker = new BackgroundWorker();
protected void Page_Load(object sender, EventArgs e)
if (!Page.IsPostBack)
worker.WorkerReportsProgress = true;
worker.WorkerSupportsCancellation = true;
worker.DoWork += new DoWorkEventHandler(DoWork);
//worker.ProgressChanged += new ProgressChangedEventHandler(WorkerProgressChanged);
worker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(WorkerCompleted);
//Export To Excel Click event
protected void btn_Export_Click(object sender, EventArgs e)
if (!worker.IsBusy)
worker.RunWorkerAsync("ExportReport");
//BackgroundMethod
private void DoWork(object sender, DoWorkEventArgs e)
exportToExcel();
private void WorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
//Export To Excel Using ClosedXML
public void ExportReportWithHeaderClosedXML(string reportName, string fileName, DataTable dataTable)
int usedCells = dataTable.Columns.Count;
string ReportDate = string.Empty;
string attachment = "inline;filename=" + fileName + ".xlsx";
using (XLWorkbook wb = new XLWorkbook())
//Add method of ClosedXML class library only accepts worksheet name of 31 characters.
IXLWorksheet worksheet = wb.Worksheet(1);
//Insert Report Data
worksheet.Cell(4, 1).InsertTable(dataTable);
HttpContext.Current.Response.Clear();
HttpContext.Current.Response.ClearContent();
HttpContext.Current.Response.ClearHeaders();
HttpContext.Current.Response.Buffer = true;
HttpContext.Current.Response.ContentType = "application/vnd.ms-excel";
HttpContext.Current.Response.AddHeader("Content-Disposition", "inline;filename=" + fileName + ".xlsx");
using (MemoryStream MyMemoryStream = new MemoryStream())
wb.SaveAs(MyMemoryStream);
MyMemoryStream.WriteTo(HttpContext.Current.Response.OutputStream);
HttpContext.Current.Response.End();
c# asp.net excel export-to-excel closedxml
c# asp.net excel export-to-excel closedxml
edited Mar 22 at 6:04
user3629270
asked Mar 22 at 4:33
user3629270user3629270
35
35
what do you mean by large amount of data ?
– B N
Mar 22 at 5:10
its more than 40,000 rows which will take time for rendering excel file and makes browser unresponsive so i am trying to generate report in background so that it will not stop user to work on other task
– user3629270
Mar 22 at 5:12
40K data is not a large amount of data. It depends on how you write the code and all other dependencies in your application
– B N
Mar 22 at 5:14
There is complex pivoting on data so excel takes time to render data
– user3629270
Mar 22 at 5:20
add a comment |
what do you mean by large amount of data ?
– B N
Mar 22 at 5:10
its more than 40,000 rows which will take time for rendering excel file and makes browser unresponsive so i am trying to generate report in background so that it will not stop user to work on other task
– user3629270
Mar 22 at 5:12
40K data is not a large amount of data. It depends on how you write the code and all other dependencies in your application
– B N
Mar 22 at 5:14
There is complex pivoting on data so excel takes time to render data
– user3629270
Mar 22 at 5:20
what do you mean by large amount of data ?
– B N
Mar 22 at 5:10
what do you mean by large amount of data ?
– B N
Mar 22 at 5:10
its more than 40,000 rows which will take time for rendering excel file and makes browser unresponsive so i am trying to generate report in background so that it will not stop user to work on other task
– user3629270
Mar 22 at 5:12
its more than 40,000 rows which will take time for rendering excel file and makes browser unresponsive so i am trying to generate report in background so that it will not stop user to work on other task
– user3629270
Mar 22 at 5:12
40K data is not a large amount of data. It depends on how you write the code and all other dependencies in your application
– B N
Mar 22 at 5:14
40K data is not a large amount of data. It depends on how you write the code and all other dependencies in your application
– B N
Mar 22 at 5:14
There is complex pivoting on data so excel takes time to render data
– user3629270
Mar 22 at 5:20
There is complex pivoting on data so excel takes time to render data
– user3629270
Mar 22 at 5:20
add a comment |
1 Answer
1
active
oldest
votes
If you want to start new single thread then it will be usefull.
var worker = new BackgroundWorker();
worker.DoWork += (o, ea) =>
//It will execute after start new Thread.
//Write your code for execute Export Excel.
;
worker.RunWorkerCompleted += (o, ea) =>
//You will get pointer when this worker finished the job.
;
worker.RunWorkerAsync();
I have tried same way but when user click on export to excel button it shows exception of "Asynchronous operations are not allowed in this context. Page starting an asynchronous operation has to have the Async attribute set to true and an asynchronous operation can only be started on a page prior to PreRenderComplete event." so i have make page Async="true" but still excel file is not generating
– user3629270
Mar 22 at 4:58
As per my view ScriptManger may need to add at form with runat="server".
– ShSakariya
Mar 22 at 5:12
that is already added on page as page contains update panel
– user3629270
Mar 22 at 5:15
Could you please sent the block of code of export excel for debug and more explanation.
– ShSakariya
Mar 22 at 5:21
for export to excel i am using closedXML library
– user3629270
Mar 22 at 5:27
|
show 12 more comments
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55292972%2fexport-to-excel-using-backgroundworker%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
If you want to start new single thread then it will be usefull.
var worker = new BackgroundWorker();
worker.DoWork += (o, ea) =>
//It will execute after start new Thread.
//Write your code for execute Export Excel.
;
worker.RunWorkerCompleted += (o, ea) =>
//You will get pointer when this worker finished the job.
;
worker.RunWorkerAsync();
I have tried same way but when user click on export to excel button it shows exception of "Asynchronous operations are not allowed in this context. Page starting an asynchronous operation has to have the Async attribute set to true and an asynchronous operation can only be started on a page prior to PreRenderComplete event." so i have make page Async="true" but still excel file is not generating
– user3629270
Mar 22 at 4:58
As per my view ScriptManger may need to add at form with runat="server".
– ShSakariya
Mar 22 at 5:12
that is already added on page as page contains update panel
– user3629270
Mar 22 at 5:15
Could you please sent the block of code of export excel for debug and more explanation.
– ShSakariya
Mar 22 at 5:21
for export to excel i am using closedXML library
– user3629270
Mar 22 at 5:27
|
show 12 more comments
If you want to start new single thread then it will be usefull.
var worker = new BackgroundWorker();
worker.DoWork += (o, ea) =>
//It will execute after start new Thread.
//Write your code for execute Export Excel.
;
worker.RunWorkerCompleted += (o, ea) =>
//You will get pointer when this worker finished the job.
;
worker.RunWorkerAsync();
I have tried same way but when user click on export to excel button it shows exception of "Asynchronous operations are not allowed in this context. Page starting an asynchronous operation has to have the Async attribute set to true and an asynchronous operation can only be started on a page prior to PreRenderComplete event." so i have make page Async="true" but still excel file is not generating
– user3629270
Mar 22 at 4:58
As per my view ScriptManger may need to add at form with runat="server".
– ShSakariya
Mar 22 at 5:12
that is already added on page as page contains update panel
– user3629270
Mar 22 at 5:15
Could you please sent the block of code of export excel for debug and more explanation.
– ShSakariya
Mar 22 at 5:21
for export to excel i am using closedXML library
– user3629270
Mar 22 at 5:27
|
show 12 more comments
If you want to start new single thread then it will be usefull.
var worker = new BackgroundWorker();
worker.DoWork += (o, ea) =>
//It will execute after start new Thread.
//Write your code for execute Export Excel.
;
worker.RunWorkerCompleted += (o, ea) =>
//You will get pointer when this worker finished the job.
;
worker.RunWorkerAsync();
If you want to start new single thread then it will be usefull.
var worker = new BackgroundWorker();
worker.DoWork += (o, ea) =>
//It will execute after start new Thread.
//Write your code for execute Export Excel.
;
worker.RunWorkerCompleted += (o, ea) =>
//You will get pointer when this worker finished the job.
;
worker.RunWorkerAsync();
answered Mar 22 at 4:49
ShSakariyaShSakariya
162
162
I have tried same way but when user click on export to excel button it shows exception of "Asynchronous operations are not allowed in this context. Page starting an asynchronous operation has to have the Async attribute set to true and an asynchronous operation can only be started on a page prior to PreRenderComplete event." so i have make page Async="true" but still excel file is not generating
– user3629270
Mar 22 at 4:58
As per my view ScriptManger may need to add at form with runat="server".
– ShSakariya
Mar 22 at 5:12
that is already added on page as page contains update panel
– user3629270
Mar 22 at 5:15
Could you please sent the block of code of export excel for debug and more explanation.
– ShSakariya
Mar 22 at 5:21
for export to excel i am using closedXML library
– user3629270
Mar 22 at 5:27
|
show 12 more comments
I have tried same way but when user click on export to excel button it shows exception of "Asynchronous operations are not allowed in this context. Page starting an asynchronous operation has to have the Async attribute set to true and an asynchronous operation can only be started on a page prior to PreRenderComplete event." so i have make page Async="true" but still excel file is not generating
– user3629270
Mar 22 at 4:58
As per my view ScriptManger may need to add at form with runat="server".
– ShSakariya
Mar 22 at 5:12
that is already added on page as page contains update panel
– user3629270
Mar 22 at 5:15
Could you please sent the block of code of export excel for debug and more explanation.
– ShSakariya
Mar 22 at 5:21
for export to excel i am using closedXML library
– user3629270
Mar 22 at 5:27
I have tried same way but when user click on export to excel button it shows exception of "Asynchronous operations are not allowed in this context. Page starting an asynchronous operation has to have the Async attribute set to true and an asynchronous operation can only be started on a page prior to PreRenderComplete event." so i have make page Async="true" but still excel file is not generating
– user3629270
Mar 22 at 4:58
I have tried same way but when user click on export to excel button it shows exception of "Asynchronous operations are not allowed in this context. Page starting an asynchronous operation has to have the Async attribute set to true and an asynchronous operation can only be started on a page prior to PreRenderComplete event." so i have make page Async="true" but still excel file is not generating
– user3629270
Mar 22 at 4:58
As per my view ScriptManger may need to add at form with runat="server".
– ShSakariya
Mar 22 at 5:12
As per my view ScriptManger may need to add at form with runat="server".
– ShSakariya
Mar 22 at 5:12
that is already added on page as page contains update panel
– user3629270
Mar 22 at 5:15
that is already added on page as page contains update panel
– user3629270
Mar 22 at 5:15
Could you please sent the block of code of export excel for debug and more explanation.
– ShSakariya
Mar 22 at 5:21
Could you please sent the block of code of export excel for debug and more explanation.
– ShSakariya
Mar 22 at 5:21
for export to excel i am using closedXML library
– user3629270
Mar 22 at 5:27
for export to excel i am using closedXML library
– user3629270
Mar 22 at 5:27
|
show 12 more comments
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55292972%2fexport-to-excel-using-backgroundworker%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
what do you mean by large amount of data ?
– B N
Mar 22 at 5:10
its more than 40,000 rows which will take time for rendering excel file and makes browser unresponsive so i am trying to generate report in background so that it will not stop user to work on other task
– user3629270
Mar 22 at 5:12
40K data is not a large amount of data. It depends on how you write the code and all other dependencies in your application
– B N
Mar 22 at 5:14
There is complex pivoting on data so excel takes time to render data
– user3629270
Mar 22 at 5:20