How do you update database through dataset?



How do you update database through dataset?..

Answer / Anil Kumar Rawat

To update the database using ADO.NET Dataset, follow these steps: 1) Load data from the database into a DataSet object, 2) Modify the data in the DataSet, 3) Use Update() method to apply changes to the database.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ADO.NET Interview Questions

What is the difference between sqlcommand and sqldataadapter?

1 Answers  


What are the difference between readonly vs. Const?

1 Answers  


Does entity framework use ado.net?

1 Answers  


What is connection pooling and what is the maximum pool size in ado.net connection string?

1 Answers  


What are the different namespaces used in the project to connect the database?

3 Answers  


What is the advantage of ado.net?

1 Answers  


What is the difference between an ADO.NET Dataset and an ADO Recordset?

1 Answers  


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 28 can datareader hold data from multiple tables?

1 Answers  


How to fetch the last inserted record in a particular table?

10 Answers   CarrizalSoft Technologies, Microsoft,


What is ole word?

1 Answers  


About ado.net components/objects. Usage of data adapters and tell the steps to retrieve data ?

1 Answers   MMTS,


What are two important objects of ADO.Net?

1 Answers  


Categories