Export to initialise – ASP Code

Add this in header section of asp file..

 

 

Response.Buffer = True                  

Response.ContentType = “application/vnd.ms-excel”      

Response.AddHeader “Content-Disposition”,”inline; filename=”&now()&”export.xls”

.