string filepath = "print.pdf";
string filename = "ranga.pdf";
Response.ContentType = "pdf";
Response.AppendHeader("Content-Disposition", "attachment; filename=" + filename);
Response.TransmitFile(filepath);
Response.End();
C#.net Tutorials, Material, Interview Questions, WCF, Windows Services, Web services, ASP.NET, Session Management, MSMQ, COM and more.
No comments:
Post a Comment
Please Give Your Valuable Comments on this Topic