title: Add checkboxcolumn into DataGridView
body: <p>I am using VS 2008 and VB.NET as a language. I have two grids. In one grid, ii have user's data. e.g Mobile no, email and other information. In second grid, i have some already added alarm.</p>
  
  <p>I need to attach two checkbox colums in each row in alarm gridview. On click of that checkbox, particular database operation will execute.</p>
  
  <p>Currently, I added checkboxes into the datagridview but I can't check/uncheck them.</p>
  
  <p>Please help me to resolve the check/uncheck problem and give me a hint to perform database operations of checkbox click.</p>
  
  <p>This is how I added checkbox into the datagridview</p>
  
  <pre><code>Dim email As DataGridViewCheckBoxColumn = New DataGridViewCheckBoxColumn(True)
  Dim sms As DataGridViewCheckBoxColumn = New DataGridViewCheckBoxColumn(True)
  
  email.HeaderText = "Email"
  email.ReadOnly = False
  sms.HeaderText = "SMS"
  sms.ReadOnly = False
  
  UserAlarmDataGridView.Columns.Add(email)
  
  UserAlarmDataGridView.Columns.Add(sms)
  </code></pre>
  
  <p>I tried to make the column's readonly property to false but it doesn't work.</p>