got the save partially solved. on the event rowLeave
DataRow[] dr = ieStringTmpDataSet.Regex.Select("", "",
DataViewRowState.ModifiedCurrent);
if (regexDataGridView.IsCurrentRowDirty | dr.GetUpperBound(0) >= 0){
DialogResult dlgReslt = MessageBox.Show("Save Changes?",
this.Text + " - The row has unsaved changes",
MessageBoxButtons.YesNo);
if (dlgReslt == DialogResult.Yes){
regexBindingNavigatorSaveItem.PerformClick();
setStatus("Saved change to regex " + regexNameTextBox.Text);
}else
{ //' problem with cancelling change, cancel edit does not
work
// on next row leave wihtout additonal change, I still
get prompted
// help here to cacnel the change
}
}
"GS" <gs**********************@msnews.Nomail.comwrote in message
news:eI**************@TK2MSFTNGP02.phx.gbl...
>I Google search for answer to detected changes to the current row in detail
view of a windows form ( not datagridview), so far I have not got the
right
search term to get me the answer, certainly I found lots on datagridview
and
.net asp form.
Is there an easy way to detect if the current record has been changed
during
row leave or somehow let me prompt user to save change or cancel edit