title: change the link value of datagridviewlink cell
body: <p>I am using datagridview with datagridviewlinkcell . 
  I want to give the functionality to edit/Update. 
  If I click "Edit" link, Link should be automatically changed to "Update".
  I have done some code. But it is not working.</p>
  
  <pre><code>if (dgvGearRatios[e.ColumnIndex, e.RowIndex].GetType() == typeof(DataGridViewLinkCell))
  {
      dgvGearRatios.ReadOnly = false;
      DataGridViewLinkCell linkCell = (DataGridViewLinkCell)dgvGearRatios[e.ColumnIndex, e.RowIndex];
      if(linkCell.FormattedValue.ToString() == "Edit")
      {
          linkCell.Value = "Update";
      } 
  }
  </code></pre>