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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can you update 2different tables with one oleDbCommand?

Status
Not open for further replies.

mbutch

Programmer
Nov 17, 2000
100
US
I have an oleDbDataAdapter select command that joins 2 tables. I then fill a dataset and attach it to a datagrid. Is there a way to update both tables in the oleDbDataAdapter update command? I tried separating the UPDATE text with a semi colon, which didn't return any errors, but the data doesn't get updated for both tables.

Thanks,

Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top