By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,082 Members | 2,135 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,082 IT Pros & Developers. It's quick & easy.

Streaming response to browser

P: n/a
Hi,
I want to render my response(ASP.NET) as excel format. So I am using

Response.ContentType = "application/vnd.ms-excel";
Response.AddHeader("Content-Disposition", "filename=results.xls");

But I have more than 10,000. Is there any way that I can improve the
response by streaming (uisng MemoryStream or any other Stream class) ?

Thanks,
Raja

Nov 19 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
If you want to stream the response you can use the Response.Flush method.

"Raja" wrote:
Hi,
I want to render my response(ASP.NET) as excel format. So I am using

Response.ContentType = "application/vnd.ms-excel";
Response.AddHeader("Content-Disposition", "filename=results.xls");

But I have more than 10,000. Is there any way that I can improve the
response by streaming (uisng MemoryStream or any other Stream class) ?

Thanks,
Raja

Nov 19 '05 #2

P: n/a
You have more than 10,000 WHAT?

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"Raja" <Ra**@discussions.microsoft.com> wrote in message
news:2F**********************************@microsof t.com...
Hi,
I want to render my response(ASP.NET) as excel format. So I am using

Response.ContentType = "application/vnd.ms-excel";
Response.AddHeader("Content-Disposition", "filename=results.xls");

But I have more than 10,000. Is there any way that I can improve the
response by streaming (uisng MemoryStream or any other Stream class) ?

Thanks,
Raja

Nov 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.