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 sql command in ado net?
How to connect and retrieve data from database using dataset
What are typed and untyped dataset?
What is the use of SqlCommandBuilder?
What providers does ado.net uses internally ?
What is the purpose of using adodb?
Command objects uses, purposes and their methods.
What are the classes in System.Data.Common Namespace?
What is disconnected scenario in entity framework?
Can you explain how to enable and disable connection pooling?
what is a dataview?why is it used for?
Some important instruction regarding ADO.NET connection string ?
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)