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.

Answers were Sorted based on User's Feedback



I loaded the dataset with a table of 10 records. One of the records is deleted from the backend, Ho..

Answer / 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

I loaded the dataset with a table of 10 records. One of the records is deleted from the backend, Ho..

Answer / amit

use the timestamp datatype

Is This Answer Correct ?    5 Yes 2 No

Post New Answer

More ADO.NET Interview Questions

What is the significance of CommandBehavior.CloseConnection ?

0 Answers   NA,


Is ado.net an orm?

0 Answers  


What is the difference between executequery and executenonquery?

0 Answers  


Being fresher How would i answer to the question that what is your salary exception?

4 Answers  


How is it possible to get 2 tables of data at a time by using data reader?

0 Answers  






what are the differences between dataset and datareader?

4 Answers   Choice Solutions,


What are basic methods of dataadapter?

0 Answers  


Does executenonquery return a value?

0 Answers  


Which is faster dataset or datareader?

0 Answers  


What are the uses of Stored Procedure?

0 Answers  


What are the Data providers in ADO.Net?

0 Answers  


What is ado control?

0 Answers  


Categories