If I understand you correctly, you're having trouble making changes to the tables that are prevented because of RI rules.
Okay, in this case you need to remember that first,
1.. Child rows need to deleted or added (to existing parents), new parents added and existing parents can be changed.
2.. Next, you can add new children to the new parents.
This is a two-step process that takes two separate DataAdapter Update statements.
I describe this in my whitepaper on handling an @@Identity crisis (see
www.betav.com\articles.htm)
hth
--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
www.betav.com/blog/billva
www.betav.com
www.sqlreportingservices.net
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
"Marc" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> The reason why i need to use a join is that in my dataset i have made
> updates to the datatable on the lhs of a relationship (in the database)
> and additions to the table on the right hand side. Thereby i cant
> update either one at a time due to referential integrity errors.
>
> I would be happy to deal with the datasets manually but how do i issue
> an SQL query against the data adapter? Or do i just build the relevant
> command objects - with the relevant sql strings - using the same
> connection?
>
> So confusing.....
>
> ta
>