?
Solved

Updating Access database with dataset

Posted on 2014-11-11
2
Medium Priority
?
146 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 2000 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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 …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
Suggested Courses

770 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