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
How to create data relations?
how you will deal result set? How do you sort a dataset?If a dataset contains 100 rows, how to fetch rows between 5 and 15 only?
Which one of the objects is a high-level abstraction of the connection and command objects in ado.net?
Where is adodb dll located?
What is the difference in an abstract class and an interface?
What is a string variable?
What are the different methods by which we can populate a dataset?
What are typed and untyped dataset?
What is the use of SqlCommandBuilder?
Which parameter of ConnectionString is used to specify the name of the database?
What is ole db query?
How do you implement locking concept for dataset?
What DataReader class do in ADO.NET ?
What is ado connection?
How to check if the Dataset has records ?