-
ASP- Excel problem
[Originally posted by Yogesh]
Hi,
I am facing one strange problem with the ASP- Excel combination.
I am populating the data in the tablular format in HTML (using table , td and Tr tags),
and then converting the ContentType of the ASP page to "application/vnd.ms-excel" by using the
'Response.ContentType = "application/vnd.ms-excel"
The code works fine and gives the output in the excel as expected.
But, If I have the ASP tags embeded inside the HTML code ( and ) then the Excel file is getting generated with the error page. strange .. but true.
Does any one have an Idea as to what may be the problem ?
Cheers
Yogesh
-
Re:ASP- Excel problem
[Originally posted by Zip]
The CONTETC-TYPE must be set prior to any html tags being sent to the browser.
-
Re:Re:ASP- Excel problem
[Originally posted by Yogesh]
hi,
ÿ yes sir, I have done that. Still it fails.
neways thanks for ur reply.
Cheers
Yogesh
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
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|