P
Pranav Nabar
Hi,
I am working on an ASP.NET application. From a page, I am triggering export
of a large dataset into an Excel file using OLE DB Provider and after the
export is complete the user is redirected to the excel file. Note that the
operations here are synchronous. The problem is the data exported is not
getting written out to the disk before the user is redirected. So I get an
empty excel file in IE while if I check the actual file on the disk, the
data seems to be there after a lag of a few seconds.
From the KB article, I learnt I cannot set the Max Buffer Size property in
OLE DB cannot be set in ADO.NET. How do I ensure that the data is flushed to
the disk before I redirect the user to the file?
Thanks in advance,
Pranav
I am working on an ASP.NET application. From a page, I am triggering export
of a large dataset into an Excel file using OLE DB Provider and after the
export is complete the user is redirected to the excel file. Note that the
operations here are synchronous. The problem is the data exported is not
getting written out to the disk before the user is redirected. So I get an
empty excel file in IE while if I check the actual file on the disk, the
data seems to be there after a lag of a few seconds.
From the KB article, I learnt I cannot set the Max Buffer Size property in
OLE DB cannot be set in ADO.NET. How do I ensure that the data is flushed to
the disk before I redirect the user to the file?
Thanks in advance,
Pranav