title: Devexpress gridcontrol excel
body: <p>I want to export gridcontrol excell but I have some float values but when I export it it is exporting like text 
  I am using this code:</p>
  
  <pre><code> gridControl1.ExportToXlsx("D:\\Turnover.xls");
  </code></pre>
  
  <p>after that I searched some and I found something:</p>
  
  <pre><code> GridViewExportLink link;
         var provider = new ExportXlsProvider(fileName:@"D:\Trunover.xls");
  
          link = gridView1.CreateExportLink(provider) as GridViewExportLink;
          link.ExportCellsAsDisplayText = false;
          link.ExportTo(true);
  </code></pre>
  
  <p>but on <code>link.ExportTo(true);</code> it is erroring mee this:</p>
  
  <blockquote>
    <p>Additional information: Object reference not set to an instance of an object.</p>
  </blockquote>