This is databound:
I am looking for sample code to create a message box that will cancel a BindingNavigatorDeleteItem record delete.
This does not work:
Private Sub BindingNavigatorDeleteItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BindingNavigatorDeleteItem.Click
If MessageBox.Show("Are you sure?", "Delete Row", MessageBoxButtons.YesNo) = Windows.Forms.DialogResult.No Then
Everything I have tried will not cancel the event.