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 data access pattern?
Define data adapter?
What is typed dataset ?
What is the difference between executequery and executenonquery?
Explain what is datagrid with an example?
What are the different methods available under the sqlcommand class to access the data?
Define table relations?
What is openrowset?
what is ado.net
Is it possible to load multiple tables in a Dataset?
Which provider is used to connect ms access, oracle, etc…?
Explain the role of data provider in ado.net? What is the role of data provider 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)