kids_pro posted on Thursday, September 14, 2006
Hi there,
I am currently having trouble with EditableRootCollection and my UI.
I decided to create BO like this:
- BO.List.Contractors - ERC : display record in DataGridView (read-only)
- BO.List.Contractor - ER: display information in Detail view (edit more)
If I enable user editing in the DataGridView directly everything work fine.
But when I decided to let the user use detail form for editing changes do not reflect back to the DataGridView form.
this is how I past object from MainForm to Detail Form:
BO.List.Contractor c = contractorsBindingSource.Current as BO.List.Contractor;
DetailForm frmDetail = new DetailForm(c);
frmDetail.ShowDialog(MainForm.Instance);
Please advice.