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.
Answer Posted / aashish
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.
| Is This Answer Correct ? | 13 Yes | 4 No |
Post New Answer View All Answers
What is oledb driver?
Which parameter of ConnectionString is used to specify the name of the database?
Which object is used to add relationship between two Datatables?
What are the several execute methods of ado.net?
What is openrowset?
Can we do database operations without using any of the ado.net objects?
What are advantages of microsoft-provided data provider classes in ado.net?
What is bubbled event can you please explain?
What is disconnected architecture in ado.net?
What is the difference between DataReader and DataSet in ADO.NET?
What is different between sqlcommand object and command behavior object?
What are the benefits of ADO.NET?
How do you implement locking concept for dataset?
What are the ado.net objects?
How to add an aggregate column?