Solved

Updating Access database with dataset

Posted on 2014-11-11
2
139 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 63

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
If you haven’t already, I encourage you to read the first article (http://www.experts-exchange.com/articles/18680/An-Introduction-to-R-Programming-and-R-Studio.html) in my series to gain a basic foundation of R and R Studio.  You will also find the …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

733 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