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…


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail

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.


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail


Print Share Comment Cite Upload Translate
APA
Posts on LINQ to Fail | Sciencx (2022-12-09T05:02:57+00:00) » LINQ to XML to… Excel?. Retrieved from https://www.scien.cx/2008/09/16/linq-to-xml-to-excel-2/.
MLA
" » LINQ to XML to… Excel?." Posts on LINQ to Fail | Sciencx - Tuesday September 16, 2008, https://www.scien.cx/2008/09/16/linq-to-xml-to-excel-2/
HARVARD
Posts on LINQ to Fail | Sciencx Tuesday September 16, 2008 » LINQ to XML to… Excel?., viewed 2022-12-09T05:02:57+00:00,<https://www.scien.cx/2008/09/16/linq-to-xml-to-excel-2/>
VANCOUVER
Posts on LINQ to Fail | Sciencx - » LINQ to XML to… Excel?. [Internet]. [Accessed 2022-12-09T05:02:57+00:00]. Available from: https://www.scien.cx/2008/09/16/linq-to-xml-to-excel-2/
CHICAGO
" » LINQ to XML to… Excel?." Posts on LINQ to Fail | Sciencx - Accessed 2022-12-09T05:02:57+00:00. https://www.scien.cx/2008/09/16/linq-to-xml-to-excel-2/
IEEE
" » LINQ to XML to… Excel?." Posts on LINQ to Fail | Sciencx [Online]. Available: https://www.scien.cx/2008/09/16/linq-to-xml-to-excel-2/. [Accessed: 2022-12-09T05:02:57+00:00]
rf:citation
» LINQ to XML to… Excel? | Posts on LINQ to Fail | Sciencx | https://www.scien.cx/2008/09/16/linq-to-xml-to-excel-2/ | 2022-12-09T05:02:57+00:00
https://github.com/addpipe/simple-recorderjs-demo