veki
New member
- Joined
- Mar 10, 2006
- Messages
- 3
I want 0.00 instead of 0 in xml file generated by DataSet...
Here is situation...
While debugging i realese that in my DataSet DECIMAL values are like 5, 10, 0, 10000..
I write xml file with DataSet.WriteXml() and i must have values in xml
<Price>0.00</Price>
I tryed google, but didnt file any solution...
DataGrid corect shows information, in Access attribute (price) is DOUBLE type. (doesn mather)
btw I tryed also
price = (dobule)0;
price = 0.00M;
...
Is there any fine solution for this problem, something about xml shema or globalization setting of dataSet... i use en-Us
Any suggestion please...
Here is situation...
While debugging i realese that in my DataSet DECIMAL values are like 5, 10, 0, 10000..
I write xml file with DataSet.WriteXml() and i must have values in xml
<Price>0.00</Price>
I tryed google, but didnt file any solution...
DataGrid corect shows information, in Access attribute (price) is DOUBLE type. (doesn mather)
btw I tryed also
price = (dobule)0;
price = 0.00M;
...
Is there any fine solution for this problem, something about xml shema or globalization setting of dataSet... i use en-Us
Any suggestion please...