title: How to programmatically create a "true" Excel file
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/150339/generating-an-excel-file-in-asp-net">Generating an Excel file in ASP.NET</a>  </p>
  </blockquote>
  
  
  
  <p><strong>Here's my question:</strong> How do you programmatically create a "true" Excel file?</p>
  
  <p><strong>Note:</strong> I don't mean a CSV, HTML/CSS, or XML file, I mean a file written in the same format Excel uses to save spreadsheets.</p>
  
  <p><strong>Background:</strong> I'm working on an ASP.Net application, which includes Telerik's RadGrid.  We're currently using the RadGrid's ExportToExcel() function, but some of our customers need to be able to view these exports using Excel Viewer.  Telerik's function exports an HTML/CSS-based file, which the full-version of Excel can open, but Excel Viewer cannot.</p>
  
  <p>I'm sure its possible to programmatically create a "true" Excel file, but I'm not sure where to begin.  Is there an SDK which could help me do this?</p>
  
  <p>Any suggestions would be appreciated.  Thanks in advance.</p>