hai
I have a gridviewbox in windows form application with sql database
how to insert checkbox in gridview and selecting on checkbox the entire row should be selected
kind helpme..
thanks in advance..
Check Box in DataGridView Selecting All rows & Single Row
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Satyapriya NayakRank #47 · 31.5K reputationPosted Apr 18, 2013, 1:19 AM EDT
Shankar MRank #874 · 2.5K reputationPosted Apr 26, 2013, 1:47 AM EDT
To Select entire row in the DataGridView you can set the SelectionMode property of the datagrid to FullRowSelect.
And to select only one row at a time, you can set MultiSelect property to False.
You can add CheckBox to Datagridview using DataGridViewCheckBoxColumn class.