• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 93
  • Last Modified:

Update a DataTable to the database.

How do I write the contents of a DataTable to the database?
0
HLRosenberger
Asked:
HLRosenberger
  • 2
1 Solution
 
Fernando SotoRetiredCommented:
That depends on how the data got into the DataTable in the first place. If you used a SqlDataAdapter and queried the db from a single table then you can use the SqlDataAdapter.Update method. Can you post your code if that did not help.
0
 
HLRosenbergerAuthor Commented:
thanks
0
 
Fernando SotoRetiredCommented:
Not a problem HLRosenberger, glad I was able to help.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now