Hi Thinh,
Thanks for your patience.
When IStyle is created the number format will be in General. So, on applying the created style to the Excel cell, the number format will change. We suggest you to set IncludeNumberFormat property available under IStyle to false, to overcome the reported issue.
Please find the code snippet below.
Code Snippet:
|
style.IncludeNumberFormat = false; |
Kindly try this and let us know if it helps.
Regards,
Keerthi.