update and insert detail rows in master-detail relationship

Hi! Does anyone know how to insert a new detail record in a master-detail window form. I have a combobox ( master records ) and a grid ( detail records ). Some code: // ds - DataSource , contains client table // (master) , // site table (detail) , client_site relationship // (client - site relationship) Grid.DataSource = ds ; Grid.DataMember = "CLIENT.CLIENT_SITE" ; How can I add a new detail row and navigate to it in the grid? B.I.

Loader.
Up arrow icon