Which Events to use?
Posted on 2015-01-14
I have a DataGridView (dgv) on a Windows form. This dgv consists of several rows with 5 columns. The problem I'm having is not knowing which Events to fire.
The scenario is that if the cursor is in the 2nd column and the cell is empty and the User presses the Down/Up Arrow Keys, the program needs to display a message that the cell cannot be empty. I'm not sure what kind of logic to use to correctly handle this situation. Each cell only takes numeric data.