You use DataAdapter to load a DataTable. Your code makes several changes to the DataTable, sets ContinueUpdateOnError to True, and then calls Update to update the database.

You must identify all rows that failed to update.

What should you do?

 Posted by Rajkatie on 10/30/2012 | Category: ADO.NET Interview questions | Views: 3171 | Points: 40
Select from following answers:
  1. Examine all rows returned by DataTable.GetErrors.
  2. Examine all rows that remain in the DataTable after updating.
  3. Call AcceptChanges and then examine all rows with an Unchanged row state.
  4. All Above

Show Correct Answer


Source: Measureup.com | Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response