Response.ContentType = "application/pdf"; string fname = "SampleInvoice.pdf"; Response.AppendHeader("content-disposition", "attachment; filename=" + fname + ""); string ServerPath = Server.MapPath("~/NewFolder4/"); HttpContext.Current.Response.TransmitFile(path+fname);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)