G
Guest
Ok, I have found a way to copy XML data to SQL however when I try to
reproduce the code for SQLce I have a little problem. The major method that
I required is NOT supported by .net compact framework. In short my procedure
does the following steps.
Load the XML data into a dataset.
Create an SQLce dataset that will pull all the columns for the table you
want to insert the XML data into.
Create an insert command for the SQLce dataset.
Clear the SQLce dataset.
Copy the XML dataset to the SQLce dataset
Save the SQLce dataset.
As I said the method DataSet.Copy is not supported, does anybody have a
workaround or know of another way to save an XML dataset into the SQLce
database?
Thanks in advance.
reproduce the code for SQLce I have a little problem. The major method that
I required is NOT supported by .net compact framework. In short my procedure
does the following steps.
Load the XML data into a dataset.
Create an SQLce dataset that will pull all the columns for the table you
want to insert the XML data into.
Create an insert command for the SQLce dataset.
Clear the SQLce dataset.
Copy the XML dataset to the SQLce dataset
Save the SQLce dataset.
As I said the method DataSet.Copy is not supported, does anybody have a
workaround or know of another way to save an XML dataset into the SQLce
database?
Thanks in advance.