title: Get the index of the selected item of a datagridview combobox
body: <p>I've searched a lot about the way of getting inedx of selected item of combobox inside datagridview but i have not found it !!</p>
  
  <p>I can get the value of selected item by :</p>
  
  <pre><code>dataGridView1[j,i]-&gt;FormattedValue
  </code></pre>
  
  <p>But i can't get the index !</p>
  
  <p>i've tried to cast DataGridView to DataGridViewComboBoxCell to use (SelectedIndex) property</p>
  
  <pre><code>DataGridViewComboBoxCell ^ t =  dynamic_cast&lt;DataGridViewComboBoxCell ^&gt;(dataGridView1[j,i])
  </code></pre>
  
  <p>but there isn't any propery shown for "t" ! </p>