Send XML Excel file in one stream
ASP.NET
3
Posts
2
Posters
0
Views
1
Watching
-
Hi, I'm creating an XML excel file in one stream / string in memory, how can I send that to the client telling the browser that is an Excel file ? ( without having to save it into the server hard disk as an XLS file). Thanks in advance, greetings Braulio
-
Hi, I'm creating an XML excel file in one stream / string in memory, how can I send that to the client telling the browser that is an Excel file ? ( without having to save it into the server hard disk as an XLS file). Thanks in advance, greetings Braulio
- Set the Response.ContentType value with the appropriate value (probably "application/vnd.ms- excel") 2) Write your stream to the Response.OutputStream I hope that helps.
-
- Set the Response.ContentType value with the appropriate value (probably "application/vnd.ms- excel") 2) Write your stream to the Response.OutputStream I hope that helps.
Thanks a lot ! That's what I was looking for, I will give a try when I arrive home.