Response.Clear(); Response.AddHeader("Content-Disposition", "attachment; filename=" + this.fileName); Response.ContentType = strFileType; Response.BinaryWrite(bytFile); Response.Flush(); Response.End();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)