ASP Export

Author
Discussion

sykes111s

Original Poster:

107 posts

256 months

Tuesday 12th August 2003
quotequote all
I have the following code on a page wich exports the data on the screen to an excel spread sheet, but only if excel is installed on that machine. Is there any way of exporting to a CSV or plain text

Response.Buffer = TRUE
Response.ContentType = "application/vnd.ms-excel"
Response.Write(htmlbody)



>>> Edited by sykes111s on Tuesday 12th August 16:24

sykes111s

Original Poster:

107 posts

256 months

Tuesday 12th August 2003
quotequote all
thanks bonce

I'v trided it but it writes to the screen rather then trying to save it

sykes111s

Original Poster:

107 posts

256 months

Tuesday 12th August 2003
quotequote all
still no joy anymore ideas