Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Response.TransmitFile(filename);
- Response.ContentType = "application/pdf";
- Response.WriteFile(@"C:DownloadsTest.pdf");
- Response.Flush();
- Responce.AddHeader("content-disposition","attachement;filename=name.pdf");
- Response.TransmitFile(filename);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement