datagrid insert row event

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a form displaying information from one record in a datatable and a datagrid displaying "child" information from records in another, related, datatable. I have added a DatagridTableStyle so that the relevant foreign key is not displayed in the datagrid. How do I automatically insert the foreign key value into the child record upon row insertion in the datagrid

It seems I need an OnInsert eventhandler for either the child datatable or for the datagrid, but I can't figure out how to build one

Thanks

Pat
 
Back
Top