There are some clues that will help you in the "Related Questions" section on the bottom right of this very page.
The very first one -
Datagridviewcheckbox column checked values[
^] should give you enough to get started.
The solution at that link uses a submit button. You want to click another checkbox somewhere to get the same effect .. so do as @Patrice-T has suggested and read the documentation -
CheckBox Class (System.Windows.Forms) | Microsoft Docs[
^]
Hint: An appropriate place to put the code might be in method OnCheckChanged
Once you have written some code, if you are still having problems then by all means come back with your code and we will try to help you fix it.