Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Update Remote DB from Local Table?

Status
Not open for further replies.

Vandy02

Programmer
Jan 7, 2003
151
0
0
US
I pulled data from a remote database and filled a datatable with the results through a data adapter.
I then update the locale data using dataview with a datagrid...

How do I send these changes back to the remote db?
Note, when I pull the data from db it is in a table and not a dataset as I was unable to get the dataview to use a dataset table.

My dataview is DV and table is DTEmp.
I am wanting to update table EMP within the remote db.

Thanks....
 
You will need to write your own insert and update statements or create a second dataadpter that refers to the other table with all the same fields and then do an update on that. Not sure if that will really work.

Christiaan Baes
Belgium

If you want to get an answer read this FAQ faq796-2540
There's no such thing as a winnable war - Sting
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top