Solved

Updating Access database with dataset

Posted on 2014-11-11
2
141 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

Major Incident Management Communications

Major incidents and IT service outages cost companies millions. Often the solution to minimizing damage is automated communication. Find out more in our Major Incident Management Communications infographic.

Question has a verified solution.

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

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ā€¦
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that undeā€¦
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

724 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