title: ASP.net MVC Export To Excel
body: <p>I am currently exporting to Excel using the old HTML trick, where I set the MIME type to application/ms-excel.  This gives the added benefit of nicely formatted tables, however the negative of the excel document not being native Excel format.  </p>
  
  <p>I could export it as CSV, but then this would not be formatted.</p>
  
  <p>I have read brief snippets that you can export it as XML to create the Excel document, but cannot find too much information on this.  Does anybody know of any tutorials and/or benefits of this?  Can it be formatted tables using this method?</p>
  
  <p>Thanks.</p>