updating data collated in one DataTable back to multiple source DBs

  • Thread starter Thread starter Jon the Blind
  • Start date Start date
J

Jon the Blind

I've created an object that collates data from multiple calls from separate
databases. The primary key column is a string, the idea being that the most
recent calls' values will possibly overwrite values from prior calls to
other databases.

Now I'd like to edit those values and return them to their correct databases
of origin.

My plan (but I'm hoping I'm missing something more straightforward) is to
add a column and store the database name in there at Fill time, then match
the database of my update DataAdapter's SqlConnection and only update
matching rows.

If anyone has a better approach I'd love to save a little time on this.

Regards,

Jon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top