solution for selecting checkbox on datagridview
<p>i am using following code when inserting check box column to datagridview,</p>

<p><code>DataGridViewCheckBoxColumn checkBoxColumn = new DataGridViewCheckBoxColumn();
    dataGridView1.Columns.Add(checkBoxColumn);
</code>   </p>

<p>when i am trying to select checkbox, it is not selectecd (not checked or unchecked),
is there a better way to do this ?</p>
