... ds.Clear( ); LoadData( ); } Discussion To avoid referential integrity problems when updating a data source with changes in a DataSet having tables related with a many-to-many relationship, update ... by creating a DataSet containing a parent, child, and many-to-many junction table, as well as the DataRelation objects between them A DataAdapter object is created for each table and the stored ... updateCommand.Parameters.Add(FIELD4_PARM, SqlDbType.NVarChar, 50, FIELD4_FIELD); daChild.UpdateCommand = updateCommand; // Create the ParentChild DataAdapter daParentChild = new SqlDataAdapter(GETPARENTCHILD_SP,...