G
Guest
I have a DataSet that I populated with an SqlDataAdapter with a SelectCommand.
Once I have the DataSet I insert some new rows, delete some other rows, and
update some existing rows.
I would like to process the "inserts" only at a specific time. The
SqlDataAdpter.Update peforms all of the operations (Insert,Update,Delete). If
I do not specify UpdateCommand and DeleteCommand then I get an exception.
Is there a way to only do the inserts and then only do the deletes and then
only do the updates? I have no control of how the DataSet is manipulated so I
can not prohibit receiving a DataSet that has all three types of operations.
Thank you.
Once I have the DataSet I insert some new rows, delete some other rows, and
update some existing rows.
I would like to process the "inserts" only at a specific time. The
SqlDataAdpter.Update peforms all of the operations (Insert,Update,Delete). If
I do not specify UpdateCommand and DeleteCommand then I get an exception.
Is there a way to only do the inserts and then only do the deletes and then
only do the updates? I have no control of how the DataSet is manipulated so I
can not prohibit receiving a DataSet that has all three types of operations.
Thank you.