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 the difference between connected and disconnected environment?
What are the advantages and drawbacks of using ado.net?
can we create synonymn in ms access,sql server,my sql if so explain me with example
What is method to get XML and schema from Dataset? getXML() and get Schema ()
Is datareader faster than datatable?
How to enable and disable connection pooling?
What is shadow copy?
What is the provider being used to access oracle database?
What is a column variable?
Can you explain how to enable and disable connection pooling?
Explain executenonquery?
What are the steps you will take to improve performance? Will you use dataset or datareader?
What is maximum pool size in ado.net connection string?
What are the different namespaces used in the project to connect the database? What data providers available in .net to connect to database?
How can we save all data from dataset?