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
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 |
What is the significance of CommandBehavior.CloseConnection ?
Is ado.net an orm?
What is the difference between executequery and executenonquery?
Being fresher How would i answer to the question that what is your salary exception?
How is it possible to get 2 tables of data at a time by using data reader?
what are the differences between dataset and datareader?
What are basic methods of dataadapter?
Does executenonquery return a value?
Which is faster dataset or datareader?
What are the uses of Stored Procedure?
What are the Data providers in ADO.Net?
What is ado control?