Using this code:

Response.ContentType = "application/ms-excel"
Response.AppendHeader("Content-Disposition", "attachment; filename=worksheet.xls")
Response.Flush()


...I'm getting an "unable to read file" error when I try to open the file in Excel. It seems to be saving it, but I'm not convinced in a readable format. Does anyone have any suggestions regarding this or other methods of sending an aspx page to Excel from the web form?

Thanks...Ooogs