Response.Buffer = True Response.ContentType = "application/ms-excel" Response.AddHeader("Content-Disposition", "attachment; filename=""" & filename & """") Response.ContentEncoding = System.Text.Encoding.UTF8 Response.Charset = "" EnableViewState = False
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)