500pts: Specify XML field types i.e. Integer, string, DateTime so Dataset.ReadXML creates field types correct?
Posted on 2006-06-29
I have written a webservice which returns an xml file. I was wondering if its possible to specify each field weather it contains a string or is a decimal,integer or datetime for example? As i use the ReadXml method of dataset to import the xml file, i think its importing each field as a string
here is an example of my XML file which my webservice returns, if anybody knows a solution i would be really grateful... Thanks in advance
specifically its fields NUM and VALUE which i would like to specify as "decimal" so that when i use ReadXML on the dataset object it would import these fields as decimals rather than strings
<?xml version="1.0" encoding="utf-8" ?>
<Error code="0" description="OK" />