EXCEL Number Format for C#, VB.NET

 

The sample demonstrates how to set number formatting in an excel workbook.

NumberStyles.gif