Well, it looks like I just had to read one of the labs I constantly tell people to read. -
http://msdn.microsoft.com/office/understanding/infopath/training/default.aspx?pull=/library/en-us/odc_ip2003_tr/html/odc_inf_lab_09.aspSeems as if you you do:
[WebMethod] // A method to expose on the Web service
public DataSet ReceiveDataSet()
{
// get the data from the database and put it in the DataSet
sqlDataAdapter1.Fill(dataSet11);
// return the DataSet object with the filled data
return dataSet11;
}
And then do:
[WebMethod] // A method to expose on the Web service
public void SubmitDataSet(DataSet ds)
{
// Pass the DataSet to ADO.NET; database updates automatically
sqlDataAdapter1.Update(ds);
}
All of your updates, deletes, and inserts will be taken care of for you.
Not sure why this confused me. InfoPath is doing a bunch of work for you for free.