title: Button Column in DataGridView in C#?
body: <p>i am trying to set the text of all the buttons to "Set Text". I have made this, but it did not work....How would i do this? </p>
  
  <pre><code>        foreach (DataGridViewButtonCell btn in dataGridView1.Rows)
          {
              btn.Text = "Set Text"; 
          }
  </code></pre>
  
  <p>Also, how would i have an onclick event for those buttons?</p>