How can I handle aCheckedChanged event for a cell in a DataGridViewCheckBoxColumn?
Note: If applicable, I prefer VB.NET answers over C#, but I’ll accept either.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try attaching a handler to the DataGridView.CellValueChanged event; it’s fired when any cell in the GridView changes, and will provide your handler information about the particular cell that changed. If the cell is a DataGridViewCheckBoxCell, the only data change that could happen would be that the checkbox was set or cleared. You can delegate that information to a more specific handler method, either through direct invocation or by raising your own event that other handlers listen for.