Solved

Updating Access database with dataset

Posted on 2014-11-11
2
133 Views
Last Modified: 2014-11-11
Experts, I have a database that I pull some records from when my application begins into a Dataset. Throughout the use of the application the data is used by the user. When the application closes I would like to update the database with the data in the dataset. I have looked at the update method but it seems I need for the Dataadapter to be hanging around to do this. I dispose of the Dataadapter after I retrieve the records I need when the application starts. How can I do this?
0
Comment
Question by:Basicfarmer
2 Comments
 
LVL 62

Accepted Solution

by:
Fernando Soto earned 500 total points
ID: 40436601
Do not dispose of the DataAdapter which is needed later for updating.
0
 

Author Closing Comment

by:Basicfarmer
ID: 40436604
That's what I thought you were going to say. Thanks as always...
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now