Response.Addheader

M

Marco Alting

I'm trying to save an ASP generated table as an Excel sheet, but when I use
this line:

Response.AddHeader "Content-Disposition", "attachment;filename=report.xls"

I loose part of my table layout and get an error message on a missing file
(stylesheet file), If I however first display the table as Excel in the
browser and then save it as xls it does save the layout and the stylesheet
settings...

Can someone tell me if there's a better way of doing this or is it just not
possible to get it better than this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,534
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top