Asp.net and Excel problem Urgent !!!

S

SA

hi all
i am facing a unique problem

I have a simple ASPx page with a label server control with text = "
Total Revenues in (£) "

on click of a button , i change the content type and export the output
to Excel

The following is the code

Response.ContentType = "application/vnd.ms-excel"
Response.AddHeader("Content-Disposition", "filename=" &
"test.xls;")
Response.Charset = ""
Response.end

When the page open in Excel the "£" sign is displayed as "£".
Can anyone help me out

Regards
SA
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,767
Messages
2,569,570
Members
45,045
Latest member
DRCM

Latest Threads

Top