title: Export Excel : Avoid stripping the leading zeros
body: <p>I am Export a data to Excel Sheet in C#.Net. There i am having column which has the data like "00123450098". The data is exported without the first zero's. I want to show the data as it is.</p>
  
  <p>Here is my export excel code.</p>
  
  <pre><code> string style = @"&lt;style&gt; .text { mso-number-format:\@; } &lt;/style&gt; ";
      HttpContext.Current.Response.Clear();
      HttpContext.Current.Response.AddHeader(
          "content-disposition", string.Format("attachment; filename={0}", fileName));
      HttpContext.Current.Response.ContentType = "application/ms-excel";
      HtmlForm frm = new HtmlForm();
      ...................
      ...................
       table.RenderControl(htw);
              HttpContext.Current.Response.Write(style);
              //render the htmlwriter into the response
              HttpContext.Current.Response.Write(sw.ToString());
              HttpContext.Current.Response.End();
  </code></pre>