Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- doc.Close();
- Response.BinaryWrite(MemStream.GetBuffer());
- Response.End();
- MemStream.Close();
- Response.AddHeader("Content-Disposition", "attachment; filename=Whatever.pdf")
- Using ms As New IO.MemoryStream
- ...
- Response.End()
- End Using
Add Comment
Please, Sign In to add comment