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


Please Help Members By Posting Answers For Below Questions

What is ado.net and its features?

498


What is command class in ado.net?

473


Which is faster datareader or dataadapter?

524


What is ado.net objects?

520


What is execute reader in ado.net?

493






What are the drawbacks of using ado.net?

541


What are the usages of the command object in ado.net?

547


What is the use of data grid?

488


What is the hierarchy of data in databases?

498


What is ado.net in vb net?

498


What is the difference between oledb sql server and oledbdotnet provider?

496


What is the difference between Command and CommandBuilder object?

585


What is the difference in an abstract class and an interface?

511


Which object holds only data and does not interact with data source?

495


Explain how can we load multiple tables in to dataset?

495