Unable to Export contents of Data table (with French formatted Numbers ) to XML

Posted by Ananth on Stack Overflow See other posts from Stack Overflow or by Ananth
Published on 2010-03-26T10:07:06Z Indexed on 2010/03/26 10:13 UTC
Read the original article Hit count: 221

Filed under:
|
|
|

I have a data Table with numbers formatted according to the current regional settings. ie ( in French decimal separators are ',' instead of '.' in English). I need to export it to XML. Numbers in XML needs to be formatted according to the current regional settings.But now numbers in XML are formatted in English.Is there any way to make the number formatting in XML according to current regional settings ( or based on the locale of the Data Table) during the exporting process ?

© Stack Overflow or respective owner

Related posts about c#

Related posts about Xml