Re: Problem with OLE DB Provider
From: Miha Markic [MVP C#] (miha)
Date: 02/20/04
- Next message: Miha Markic [MVP C#]: "Re: Datagrid Column Width"
- Previous message: Miha Markic [MVP C#]: "Re: I Have No Identity"
- In reply to: Pranav Nabar: "Problem with OLE DB Provider"
- Next in thread: Pranav Nabar: "Re: Problem with OLE DB Provider"
- Reply: Pranav Nabar: "Re: Problem with OLE DB Provider"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 20 Feb 2004 11:10:23 +0100
Hi Pranav,
Huh, weird.
Do you close the connection after exporting?
-- Miha Markic [MVP C#] - RightHand .NET consulting & software development miha at rthand com www.rthand.com "Pranav Nabar" <psnabar@msn.com> wrote in message news:eTwQQQ49DHA.2532@TK2MSFTNGP09.phx.gbl... > 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 >
- Next message: Miha Markic [MVP C#]: "Re: Datagrid Column Width"
- Previous message: Miha Markic [MVP C#]: "Re: I Have No Identity"
- In reply to: Pranav Nabar: "Problem with OLE DB Provider"
- Next in thread: Pranav Nabar: "Re: Problem with OLE DB Provider"
- Reply: Pranav Nabar: "Re: Problem with OLE DB Provider"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|