Dim attachment As String = "attachment; filename=OutstandingReport.xls" Response.ClearContent() Response.AddHeader("content-disposition", attachment) Response.ContentType = "application/ms-excel" ReportTable.RenderControl(htw) Response.Write(sw.ToString()) Response.Flush() 'Added By: Varun Sareen on 17th June, 2013 Response.[End]()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)