CheckBox in DataGridView in C#
DataGridView provide checkbox control “DataGridViewCheckBoxColumn” for selecting particular row value. In this article I tell you how to use DataGridView’s checkbox control in your windows application. Steps are given below.
Step 1: Create one windows application and drag-drop DataGridView control.
Step 2: Rightclick on DataGridView and select “Edit Cloumn…” option.
Step 3: Click on button “Add” and select “DataGridViewCheckBoxColumn” option from type comboBox and give that name with header text as below image.
Step 6: After added “DataGridViewChekBoxCOlumn”, your windows form look as below image.
Step 7: Now bind DataGridView from database. Follow below link for binding database table into DataGridView.
Step 8: Now check your application. My application screen shot as given below.