Hi thesanjayduda...,
You need to add style to format numbers to string.
C#
string style = @"<style> .textmode { } </style>";
Replace the above line with below.
string style = @"<style> .textmode { mso-number-format:\@; } </style>";
VB.Net
Dim style As String = "<style> .textmode { } </style>"
Replace the above line with below.
Dim style As String = "<style> .textmode { mso-number-format:\@; } </style>"