What is the best event to use in a DataGridView to determine cell position?

I am trying to figure out the best Event to use in a DataGridView to determine what cell the cursor is in at the point of hitting the enter/return key.

What I am doing is reading a Digital Multimeter and retrieving a decimal value. The cell at which I am in upon hitting the enter/return key needs to contain that decimal value from the DMM. Hence, the processing needs to go in that event.
BlakeMcKennaAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
CodeCruiserConnect With a Mentor Commented:
I think you need the KeyPress event.
0
 
Carl TawnSystems and Integration DeveloperCommented:
Either CellStateChanged or CellValidating should serve.
0
 
BlakeMcKennaAuthor Commented:
I'll give it a shot....
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.