Hi All,

I found a nice little peice of code that displays the data on the page as an
excel spreadsheet --

<%
Response.ContentType = "application/vnd.ms-excel"
%>


I was just wondering whether there is something similar for PDF???

Thanks again....

Re: ASP to PDF,... by Bob

Bob
Tue Feb 26 12:45:10 CST 2008

GTN170777 wrote:
> Hi All,
>
> I found a nice little peice of code that displays the data on the
> page as an excel spreadsheet --
>
> <%
> Response.ContentType = "application/vnd.ms-excel"
> %>
>
>
> I was just wondering whether there is something similar for PDF???
>
Nope:
http://classicasp.aspfaq.com/components/how-do-i-generate-pdf-files-from-asp.html
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.



Re: ASP to PDF,... by Daniel

Daniel
Wed Feb 27 06:56:48 CST 2008

GTN170777 wrote on Tue, 26 Feb 2008 09:45:01 -0800:

> Hi All,

> I found a nice little peice of code that displays the data on the page
> as an excel spreadsheet --

> <%
> Response.ContentType = "application/vnd.ms-excel"
> %>


That doesn't actually generate an Excel spreadsheet - all it does is cause
the browser to load Excel to read the output, and as Excel can parse CSV,
fixed width text, HTML, and other formats it'll just open it and deal with
it.

--
Dan