Data Adapter Update

  • Thread starter Thread starter Ruslan Shlain
  • Start date Start date
R

Ruslan Shlain

Is there a way to tell DataAdapter to continue updating if it encounters
error. So, in other words once it starts to update records in the database
and it fails on one of them, then it would continue updating rest of the
remaining records in the dataset.?

Any suggestions or samples would be very helpful.
Thank you all.
 
You can use the RowUpdated event and in particular, set the
ContinueUpdateOnError Property to true... But you'll want to give yourself
some sort of notification and respond to update errors b/c it'd be easy to
lose track of them
 
Back
Top