string filename = MapPath(".") + "\\Document\\Home Business and Questionnaire.pdf";
Response.ContentType = "Application/pdf";
Response.AddHeader("Content-Disposition", "attachment; filename='" + filename + "'");
Response.Flush();
Response.WriteFile(filename);
No comments:
Post a Comment