What happens when u try to update data in a dataset in .NET
while the record is already deleted in SQL SERVER as backend?
Answer Posted / 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 |
Post New Answer View All Answers
What is sqldatareader in ado.net?
Explain how to find the given query is optimised one or not?
What is the difference between the clone() and copy() methods of the dataset class?
Define the executescalar method?
What is isolation?
What is untyped dataset?
What is data reader in ado.net?
What does executenonquery () method return?
What is ole2 format?
Why edit is not possible in repeater?
How can we save all data from dataset?
What is typed dataset ?
What is data view and variable view?
What are the major difference between classic ADO and ADO.NET?
What are all features of ADO.Net?