We all know that Dataset is purely disconnected
architechure, but we also know that we can update the
changes made to the dataset can be updated in the backend
database. when there is no connection how does the update
Answers were Sorted based on User's Feedback
Answer / rumpa
By using Data Adapter Update(DataSet,DataTable)
|Is This Answer Correct ?||21 Yes||6 No|
Answer / komal gupta
As DataAdaptor is Internally build of Select, Insert , Update and Delete Command,It can be updated via using da.Update(ds) , It will internally create Insert/Update/Delete Commnand for DataAdaptor (as per modifcation. Or else We can write specific Insert/Update/Delete Command for Every Action of User and attch these command to DataAdaptor.
|Is This Answer Correct ?||4 Yes||2 No|
Answer / vasu
IN DataSet it will use the DataAdapter for communication
with data base when dataset updating the data DataAdapter
will open the connection automatically lost.
|Is This Answer Correct ?||2 Yes||0 No|
Answer / venu
Ya dataset have drawback.it is not updated in database
automatically.we have to use
At this time only update the table in your database.
|Is This Answer Correct ?||4 Yes||3 No|
Answer / neha
DataAdapter helps in updating back the database through its
update method. That is,
It does this even when the connection is closed. Actually,
data adapter opens connection object to update the records,
after the records are updated, the connection is closed
again. Since there must be some path from application to
database in order to update and retrieve records. Thus, to
do this, adapter uses the connection.
|Is This Answer Correct ?||1 Yes||0 No|
Answer / kishore
we can update it by using fill();
|Is This Answer Correct ?||3 Yes||14 No|
How to Handle the exceptions in Sqlsrver2000
How do you implement locking concept for dataset?
What is datasource in ado.net?
What are the drawbacks of using ado.net?
Features and disadvantages of dataset?
What is the namespace in which .NET has the data functionality classes?
What is read only and forward only in ado.net?
What is difference between executequery and executeupdate?
How does entity framework work?
Define bubbled event?
What are relation objects in dataset and how & where to use them?
Can we create Synonymns in MS Acess,My Sql Server,Sql Server? But iam we can create in oracle!