Response.Buffer = True Response.ContentType = "application/vnd.ms-excel" Response.AddHeader "content-disposition","inline; filename = 55.xls"