Solved

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

Posted on 2014-03-20
3
210 Views
Last Modified: 2014-03-28
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.
0
Comment
Question by:BlakeMcKenna
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 39942911
Either CellStateChanged or CellValidating should serve.
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 39944783
I think you need the KeyPress event.
0
 

Author Comment

by:BlakeMcKenna
ID: 39945113
I'll give it a shot....
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question