selected item index in a DataGridViewComboBoxCell

  • Thread starter Bruno Neves Pires Silva
  • Start date
B

Bruno Neves Pires Silva

Hello, everybody.

How can I get the selected item index in a DataGridViewComboBoxCell,
in a datagridview?
 
P

Paul Shapiro

From the documentation:
Unlike the ComboBox control, the DataGridViewComboBoxCell does not have
SelectedIndex and SelectedValue properties. Instead, selecting a value from
a drop-down list sets the cell Value property.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top