title: How to get the TEXT of Datagridview Combobox selected item?
body: <p>How to get the Combobox selected item <strong>text</strong> which is inside a DataGridView?
  I have tried using the below code:</p>
  
  <pre><code>dataGridView1.Rows[1].Cells[1].Value.ToString()
  </code></pre>
  
  <p>But, this gives the value associated with this cell, not the Combobox selected item text.
  I also tried this:</p>
  
  <pre><code>DataGridViewComboBoxCell cell = dataGridView1[1,1] as DataGridViewComboBoxCell;
  string value = cell.Value.ToString();
  </code></pre>
  
  <p>But, this also didn't help.</p>
  
  <p>I would appreciate your help. Thanks in advance!</p>
  
  <p><strong>EDIT:</strong> </p>
  
  <p>Let's say, we have a Combobox with text as <code>No</code> and <code>Yes</code> and the values as 0 and 1 respectively. What I want to get here's the text <code>Yes</code> or <code>No</code>, when the Combobox is changed. But what I am getting is the values 0/1 using the above codes. Hope that makes things clear. </p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>Ok, so I have been working on this issue and after lots of efforts and with help from my fellow members, I have been able to resolve the issue and get the required solution:</p>
  
  <p>Here's the solution:</p>
  
  <pre><code>string SelectedText = Convert.ToString(dataGridView1.Rows[0].Cells[1].FormattedValue.ToString());
  </code></pre>