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 |
How does entity framework work?
What are the steps in connecting to database ?
What is Debug.write does?
How to create dynamic gridview?
What is disconnected architecture in ado.net?
Write steps of retrieving data using ado.net ?
What is data reader in ado.net?
what is type dataset?
How can you identify whether or not any changes are made to the DataSet object since it was last loaded?
What is data view and variable view?
What is difference between datagridview and datagrid control in winforms?
What are the 4 types of classes in ADO.NET?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)