Hi,
Actually this is just fine. All you have to do is to insert your master record first and then your child records after. But you must do this at the same time in your Save button. I think you are being confused here since your form would contain all of your inputs.
Or you can just have a temporary storage for your child records first. Then add it to your datatable after youve already added your master record.
BTW, are you using plain DataTables and DataSets? Or are you using Typed Datasets and binding your controls into it?
cheers,
Paul June A. Domag
Visit my Online Blog - http://webmag.mvps.org |