Export Arabic data in to Excel issue

U

Umapriya

I am trying to export arabic data using c# code to Excel.

but it is exporting arabic data as garbage in to excel. if any have a
solution for this please let me know.

my code:
step 1://method to write filestream.

step2:
Page.Response.ClearContent();
Page.Response.ContentType="application/x-download";
Page.Response.AddHeader("content-disposition","attachment;filename=SRSRecords.xls");
Page.Response.WriteFile(ReqReportExport);
Page.Response.Flush();
Page.Response.End();
 

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

Top