ADO.NET Question:
Download Questions PDF

I loaded the dataset with a table of 10 records. One of the records is deleted from the backend, How do you check whether all the 10 records were present while updating the
data(Which event and steps) and throw the exception.

ADO.NET Interview Question
ADO.NET Interview Question

Answer:

By Using the Transactions we can check the Exact Numbers of the rows to be updated and if the updation fails then the Transaction will be rollbacked.

Download ADO.NET Interview Questions And Answers PDF

Previous QuestionNext Question
what is typed and untyped dataset?Can dataReader hold data from multiple tables?