title: How to get a value of the checkbox in a GridView
body: <p>I have made a C# windows forms project...
  How to get a value of the checkbox in a GridView - C# winforms</p>
  
  <p>I add a gridview to the form...</p>
  
  <p>the first column (with index 0) is checkbox button column...</p>
  
  <p>I used the next code to access the checkbox value:</p>
  
  <p><code>dataGridView1[0, 0].Value.ToString();</code></p>
  
  <p>but it didn't work...</p>
  
  <p>and when I try to execute:</p>
  
  <p><code>MessageBox.Show(dataGridView1[0, 0].ValueType.ToString());</code></p>
  
  <p>I got type.boolean...</p>
  
  <p>so, How can I get the value of the checkbox...</p>