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

    Accepted Solution

    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

    Courses: Start Training Online With Pros, Today

    Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

    Join & Write a Comment

    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…
    We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    755 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

    24 Experts available now in Live!

    Get 1:1 Help Now