• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 80
  • 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 SotoCommented:
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 SotoCommented:
Not a problem HLRosenberger, glad I was able to help.
0

Featured Post

Industry Leaders: 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!

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