Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium



Posted on 2006-03-27
Medium Priority
Last Modified: 2009-07-29
how do I set the CheckedValueChanged event for a DataGridViewCheckBoxColumn?
Question by:ARACK04
1 Comment

Accepted Solution

e1v earned 2000 total points
ID: 16305543
CellContentClick of the DataGridView will fire when the checkedstate of your dataGridViewComboBox cell changes by mouse or keypress.
You check which column the event occurs for using the ColumnIndex of DataGridViewCellEventArgs.

You can also use CurrentCellDirtyStateChanged, see

As for hooking directly up to the CheckBox you could probably do that in the EditingControlShowing event of the DataGridView and add an event handler there and remove it again in the EndEdit event, (It works with DataGridViewComboBoxCell but I haven't tried with checkboxCell) but that seems overly complicated.

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…

564 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