Update According To DataRowState

  • Thread starter Thread starter Yossi And Inbar
  • Start date Start date
Y

Yossi And Inbar

Hi,
I Want to update My Database , i using sqlDataAdapter and i have
all the command (Insert/select/delete/update).
I dont want to use update method cause i want to delete first from one table
and then insert to the other
so i want to Insert/update/delete in my way.
Can i choose when to use Delete/Update/Insert if i use DataAdapter ?
How can i do it ?

Thanks ,
Yossi
 
No, DataAdapter acts according to RowState.
If you need different behaviour then you might consider looping rows and do
proper actions manually.
 
Back
Top