compress it as a ZIP file.
the reason the browser prints out all the gibberish is since the data is returned by the server as text/html instead of application/vnd.ms-excel. compressing it would do the trick since the mime type for zip files is sure to be present.
Last edited by ryubahamut; Aug 17th, 2008 at 12:10:17 PM.
|