M
MurdockSE
Newbie Question (apologies ahead of time) -
I have a dataset created from an XML file (lets call it DataSet1). I
want to get that data into an existing SQL Database. How do I
efficiently add the rows from DataSet1 to DataSet2 and set them to ADD
so that an UPDATE on the DataSet2's DataAdapter will add all of those
rows to the SQL Databse?
A picture:
XML Document --> Dataset1 ---> [Here I assume I create a Dataset2
with select * from table form SQL Dbase) . How do I force Dataset2 to
include all of the rows from Dataset1, in an ADD state ; so that
calling an Update on Dataset2 will push that data to the SQL Database?
Thanks ahead of time.
Peter Robbins
I have a dataset created from an XML file (lets call it DataSet1). I
want to get that data into an existing SQL Database. How do I
efficiently add the rows from DataSet1 to DataSet2 and set them to ADD
so that an UPDATE on the DataSet2's DataAdapter will add all of those
rows to the SQL Databse?
A picture:
XML Document --> Dataset1 ---> [Here I assume I create a Dataset2
with select * from table form SQL Dbase) . How do I force Dataset2 to
include all of the rows from Dataset1, in an ADD state ; so that
calling an Update on Dataset2 will push that data to the SQL Database?
Thanks ahead of time.
Peter Robbins