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..
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Shankar MPosted Apr 26, 2013, 5:47 AM
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.
Satyapriya NayakPosted Apr 18, 2013, 5:19 AM