Response.ContentType = "application/pdf"; Response.Charset = null; Response.AppendHeader("Content-Disposition", "attachment; Filename= " + FileName); Response.TransmitFile(FilePath); Response.Flush(); Response.Close();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)