From: Massimo Riccardi on
Hi,

I have a ComboBox Column in a DataGridView and I want to know what is the
selected index of the combo box. (it was Listindex in VB6)
What I need to do?

Thanks.



From: PvdG42 on

"Massimo Riccardi" <rimassimo(a)aliceposta.it> wrote in message
news:4b22cbe2$0$30958$4fafbaef(a)reader3.news.tin.it...
> Hi,
>
> I have a ComboBox Column in a DataGridView and I want to know what is the
> selected index of the combo box. (it was Listindex in VB6)
> What I need to do?
>
> Thanks.
>
>
>

That would be the SelectedIndex property of the ComboBox object.

See here:

http://msdn.microsoft.com/en-us/library/system.windows.forms.combobox.selectedindex.aspx