Solved

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

Posted on 2014-03-20
3
203 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
3 Comments
 
LVL 52

Expert Comment

by:Carl Tawn
Comment Utility
Either CellStateChanged or CellValidating should serve.
0
 
LVL 83

Accepted Solution

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

Author Comment

by:BlakeMcKenna
Comment Utility
I'll give it a shot....
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

728 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now