VB 2008 - How to avoid (and commit) a deletion; DataGridView
Posted on 2009-07-10
My concern is with activating the Deletion Icon on the BindingNavigator. I want the user to confirm that the deletion should go forward after clicking on the Delete Icon. If the user says NO, then there does not appear to be any way to prevent the deletion in code.
So the only way I can see is to set the BindingNavigator.DeleteItem to (none). However, if the user desires to let the deletion occur, what code will accomplish that for a single selected record in the DataGridView? (MultiSelect = False in this app.)