Response.ContentType = "application/pdf"; Response.AddHeader("Content-Disposition", string.Format("attachment;filename=Receipt-{0}.pdf", textBox7.Text)); Response.BinaryWrite(output.ToArray());
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)