|
-
Jan 3rd, 2003, 01:17 PM
#1
Thread Starter
Member
Output to Excel
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|