frag0610
July 19th, 2004, 03:23 PM
Hi,
I need to use a DataSet with an XML source and an XML schema to fill a DataGrid.
In my schema, I have a date element (<xs:element name="date" type="xs:date"/>)
When I load the DataGrid with the DataSet, all my dates are showed like a date type.
After some changes, when I get my data from the DataSet (with MyDataSet.GetXml()), all my dates are datetime type even I specify "xs:date" in my schema.
date format : 2004-07-19
datetime format : 2004-07-19T14:43:25.6550000-04:00
Does anybody has an idea?
If you need some explanation, I can send you a big part of code.
Thanks
Gérard
I need to use a DataSet with an XML source and an XML schema to fill a DataGrid.
In my schema, I have a date element (<xs:element name="date" type="xs:date"/>)
When I load the DataGrid with the DataSet, all my dates are showed like a date type.
After some changes, when I get my data from the DataSet (with MyDataSet.GetXml()), all my dates are datetime type even I specify "xs:date" in my schema.
date format : 2004-07-19
datetime format : 2004-07-19T14:43:25.6550000-04:00
Does anybody has an idea?
If you need some explanation, I can send you a big part of code.
Thanks
Gérard