LINQ to XML to… Excel?

The other day one of the guys I work with was trying to work out the best way to generate an Excel document from .NET as the client had some wierd requirements around how the numerical data needed to be formatted (4 decimal places, but Excel treats a C…

The other day one of the guys I work with was trying to work out the best way to generate an Excel document from .NET as the client had some wierd requirements around how the numerical data needed to be formatted (4 decimal places, but Excel treats a CSV to only show 2).
The next day my boss came across a link to a demo of how to use LINQ to XML to generate a XML file using the Excel schema sets which allow for direct opening in Excel.


Print Share Comment Cite Upload Translate
APA
Posts on LINQ to Fail | Sciencx (2024-03-28T21:38:07+00:00) » LINQ to XML to… Excel?. Retrieved from https://www.scien.cx/2010/04/08/linq-to-xml-to-excel/.
MLA
" » LINQ to XML to… Excel?." Posts on LINQ to Fail | Sciencx - Thursday April 8, 2010, https://www.scien.cx/2010/04/08/linq-to-xml-to-excel/
HARVARD
Posts on LINQ to Fail | Sciencx Thursday April 8, 2010 » LINQ to XML to… Excel?., viewed 2024-03-28T21:38:07+00:00,<https://www.scien.cx/2010/04/08/linq-to-xml-to-excel/>
VANCOUVER
Posts on LINQ to Fail | Sciencx - » LINQ to XML to… Excel?. [Internet]. [Accessed 2024-03-28T21:38:07+00:00]. Available from: https://www.scien.cx/2010/04/08/linq-to-xml-to-excel/
CHICAGO
" » LINQ to XML to… Excel?." Posts on LINQ to Fail | Sciencx - Accessed 2024-03-28T21:38:07+00:00. https://www.scien.cx/2010/04/08/linq-to-xml-to-excel/
IEEE
" » LINQ to XML to… Excel?." Posts on LINQ to Fail | Sciencx [Online]. Available: https://www.scien.cx/2010/04/08/linq-to-xml-to-excel/. [Accessed: 2024-03-28T21:38:07+00:00]
rf:citation
» LINQ to XML to… Excel? | Posts on LINQ to Fail | Sciencx | https://www.scien.cx/2010/04/08/linq-to-xml-to-excel/ | 2024-03-28T21:38:07+00:00
https://github.com/addpipe/simple-recorderjs-demo