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 |
Is ado.net an orm?
What are major difference between classic ADO and ADO.NET?
What two types of data providers does ADO.NET supply? What determines which one you should use?
What is microsoft ado?
Which control of the BindingNavigator returns the current position within the data source?
Is datareader faster than datatable?
How do you implement locking concept for dataset?
What is ado circle?
What is execute reader in ado.net?
What is row state?
Define Execute Scalar?
What is execute scalar in ado.net?