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 does executenonquery () method return?
What providers does Ado.net uses?
Define connection string?
What is openquery?
What are the steps to connect to a database?
How xml files and be read and write using dataset ?
What are the rules to implement connection pooling?
What is sqldatareader?
What?s the role of the DataReader class in ADO.NET connections?
What is executescalar and executenonquery?
Can we bind one datareader wid two dropdown list?
Advantage of 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)