G
Guest
Hello,
I am using the ReadXML function of the DataSet to read in an xml file into a dataset after I called fillSchema on the tables that will be loaded into the dataset. I have been able to get this working in the past but I often have a very, very difficult time debugging the ReadXML function. It tends to give me errors like
input string was not in a correct format or failed to enable constraints.
It doesnt bother to tell me what string or what field or even what line number of my xml file is causing the problem. Is there any way to get this information. Can I get some output that tells me where in my xml file ReadXml is failing?
I am using the ReadXML function of the DataSet to read in an xml file into a dataset after I called fillSchema on the tables that will be loaded into the dataset. I have been able to get this working in the past but I often have a very, very difficult time debugging the ReadXML function. It tends to give me errors like
input string was not in a correct format or failed to enable constraints.
It doesnt bother to tell me what string or what field or even what line number of my xml file is causing the problem. Is there any way to get this information. Can I get some output that tells me where in my xml file ReadXml is failing?