I have an XML file that I want to use to update my Access database. I'm loading the XML file into a DataSet and then trying to update the database with the Update method of the DataAdapter. Something like this:
DataSet.ReadXml(file.xml)
DataAdapter.Update(DataSet)
But the changes don't take affect in the database. What's wrong? As a test I loaded some data directly from the database into a dataset, changed some data, then updated using the function above and it worked fine. But when the data source is XML, it doesn't seem to work. Help!
Stephen
DataSet.ReadXml(file.xml)
DataAdapter.Update(DataSet)
But the changes don't take affect in the database. What's wrong? As a test I loaded some data directly from the database into a dataset, changed some data, then updated using the function above and it worked fine. But when the data source is XML, it doesn't seem to work. Help!
Stephen