Hi Luis,
To send a file to the browser without creating a file on the server, you
can try to put what you are going to send into a MemoryStream, and then use
Response.BinaryWrite to write it to the client side.
HTH
Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
--------------------
| Content-Class: urn:content-classes:message
| From: "LUIS FAJARDO" <
[email protected]>
| Sender: "LUIS FAJARDO" <
[email protected]>
| Subject: EXPORT TO .CSV WITHOUT CREATING A FILE ON THE SERVER!!!
| Date: Wed, 1 Oct 2003 20:16:46 -0700
| Lines: 7
| Message-ID: <
[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Thread-Index: AcOIk5yRPc0rjTITSNK57bcjcks4GQ==
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Newsgroups: microsoft.public.dotnet.languages.csharp
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:188478
| NNTP-Posting-Host: TK2MSFTNGXA09 10.40.1.161
| X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
|
| I want to know if there is a way to export a DataGrid
| (ASP.NET) without actually having to create a file on the
| server. Something like to be able to export an Stream
| that is saved as a file on the client side.
|
|
| Thanks
|