Output content as excel and display File download box
Scenario:
if you want to output some data as excel file, and display the File download dialog box,
use the code below :
Response.ContentType = "application/vnd.ms-excel" Response.AddHeader "Content-Disposition", "attachment;filename=.xls"
if you want to output some data as excel file, and display the File download dialog box,
use the code below :
Response.ContentType = "application/vnd.ms-excel" Response.AddHeader "Content-Disposition", "attachment;filename=
Comments