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 Updates
APA

Posts on LINQ to Fail | Sciencx (2010-04-08T00:00:00+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 ,<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 ]. 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 . 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: ]
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/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.