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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top