or
Response.ContentType = "application/octet-stream"
Response.AddHeader "Content-Disposition","attachment; filename=xx.xls"