Question

  Asked: Aug 29 2007   12:37 AM GMT
  Asked by: MargaretRouse


I can update the dataset, but not the database


Visual Basic, SQL Express, Database

Posted on behalf of BodjorB:

I have been trying to update a database in a program i developed using Microsft Visual Basic 2005,SQL Express -- whenever I enter data and click on Update, this updates the dataset, but the database is not updated. What am I forgetting?

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0



Have you called Update on the data adapter?
e.g.
customersTableAdapter.Update(northwindDataSet.Customers);
from msdn
  • AddThis Social Bookmark Button

Browse more Questions and Answers on Development, SQL Server and Database.

Looking for relevant Development Whitepapers? Visit the SearchWinDevelopment.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register