arabic data also show in reoprt.I am using following but not arabic data appear
in my Excel and not arabic data appear in my css.I am using asp.net c#
Response.ContentType = "application/x-msexcel"; Response.AddHeader("Content-Disposition", "attachment; filename=ExcelFile.xls");
Response.ContentEncoding = System.Text.Encoding.UTF8; StringWriter tw = new System.IO.StringWriter(); HtmlTextWriter
hw = new HtmlTextWriter(tw); tblid.RenderControl(hw); Response.Write(tw.ToString()); Response.End();
| Region | ??????? ????? | ??????????? | ????? | ????? | ????? | ????? | ????? | ????? | ????? | ????? | ????? | ????? | ????? | ????? | ||||||||||||||||
Grand Total | Musandam | Al-wusta | Alburaimi | Al-Dhahira | Dohfar | Al-dhakhila | Al-sharqiya(n) | Al-sharqiyah | Albatiniah(s) | Muscat | ||||||||||||||||||||
| ????? | ? | ? | ? | ? | ? | ? | ? | s="titleMale">? | ? | ? | ? | ? | ? | ? | ? | ? | ? | ? | ? | ? | ? | >? | ? | ? | ? | ? | ??? | |||
| Specialization | Total | F | M | F | M | F | M | F | M | F | M | F | M | F | M | F | M | F | M | F | M | F | M | F | M | F | M | ???? | ||
Foundation | Engnieering | 120 | 48 | 72 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | ??????? | ????? |
| Information Technology | 213 | 147 | 66 | 1 | 2 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | ????????? ????????? | ||
| Total | 313 | 195 | 138 | 1 | 2 | 0 | 0 | 2 | 2 | 0 | 0 | 2 | 2 | 0 | 0 | 2 | 2 | 0 | 0 | 2 | 2 | 0 | 0 | 2 | 2 | 0 | 0 | ?????? | ||
| 313 | 3 | 0 | 4 | 0 | 4 | 0 | 4 | 0 | 4 | 0 | 4 | 0 | ||||||||||||||||||
Guest UserPosted Jul 26, 2014, 1:31 AM
If you have already data in html form you can leave it in html itself?
Waqas AliPosted Jul 25, 2014, 4:18 PM
Guest UserPosted Jul 21, 2014, 9:56 PM
twitter @sumitjolly