What happens when u try to update data in a dataset in .NET
while the record is already deleted in SQL SERVER as backend?
Answers were Sorted based on User's Feedback
Answer / vaidyanathan r.
If the updating is done in DataSet then there will be no
error. It will work fine. Because Dataset is totally
disconnected from the Database and unaware of changes
happened in the backend. The user is free to update the
dataset.
Once the changed data is updated in the database(backend)
then an SQLException will be thrown.
| Is This Answer Correct ? | 19 Yes | 0 No |
Answer / rahul
no error happened because data set is totaly worked in
discontecd form.it will unaware of changes happened in the
backend.
but if we are trying to update original database using data
set then SQLException will be thrown
| Is This Answer Correct ? | 13 Yes | 0 No |
Answer / sabir
it thorgh the execption that the object is not available
| Is This Answer Correct ? | 5 Yes | 4 No |
What is ole in excel?
What is the difference between Data adaptor and Data set?
ADO and ADO.NET differences ?
What are the differences between RAW, AUTO and Explicit modes in retrieving data from SQL Server in XML format?
What is the difference between OLEDB Provider and SqlClient?
What is the difference between a Dataset and DataReader? Can dataReader hold data from multiple tables?
3 Answers Fulcrum Logic, Merrill Lynch,
What do you know about ADO.NET's objects and methods?
Explain advantages of ado.net?
What are the different namespaces used in the project to connect the database?
What is the difference between executenonquery () and executescalar ()?
What is the difference between SqlCommand and SqlCommandBuilder?
What is ole data type?
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)