This is just off the top of my head, so let me know if it doesn't work. Be
gentle <grin>
Once you have the pdf bytes from the database, something like this *should*
work
byte[] bytes = GetPdfBytes(); //your function that gets the bytes from sql
server
Response.ContentType = "application/pdf"; //you may need to check the
exact Mime type of a pdf doc
Response.OutputStream.Write( bytes, 0, bytes.Length );
Response.End();
Cheers!
Dave
www.aspNetPOP3.com
"Chris Roden" <> wrote in message
news:052101c3410a$81453260$...
> I have PDF documents stored in a SQL Database. How can I
> display the PDF document straight from the database
> without creating a file?
>
> Chris Roden
>