G
Guest
I have a simple form with a datagrid, an OK button and a Cancel button.
If the user presses the Cancel button, the form should close immediately, no
matter the state of the datagrid.
When the user edits the datagrid, leaves a cell blank which doesn't allow
null values and presses the Cancel button, a messagebox appears:
"Column <columnname> does not allow nulls. Do you want to correct the
value?"
How can I cancel the form without displaying this messagebox?
If the user presses the Cancel button, the form should close immediately, no
matter the state of the datagrid.
When the user edits the datagrid, leaves a cell blank which doesn't allow
null values and presses the Cancel button, a messagebox appears:
"Column <columnname> does not allow nulls. Do you want to correct the
value?"
How can I cancel the form without displaying this messagebox?