Response.Clear(); Response.Buffer = true; Response.Charset = ""; lblExportStatus.Visible = true; lblExportStatus.Text = "Export Successful";
Response.Clear(); Response.Buffer = true; Response.Charset = ""; Response.ContentType = "application/vnd.ms-excel"; Response.AddHeader("content-disposition", "attachment;filename=Test.xls"); lblExportStatus.Visible = true; lblExportStatus.Text = "Export Successful";
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)