There is a FAQ tells about master-details.
Create relationship between master and details tables in a DataSet. The “master” control bindingsource is dataset, datamember is the master table. The details control bindingSource should be the master control’s bindingsource, datamember is the relationship name.
-> How can I Insert, Edit, delete, fetch data by grid. I don't want to use DataAdaptar. ………I want to use Stored Procedure to Insert, Edit, Delete, fetch data into database.
It’s the same as update a single datatable. Set command.CommandType to CommandType.StoredProcedure. Set command.commandText to stored procedure name. Then execute the command.
This is an example shows calling Stored Procedure: