C
chris
I give up. I've got a dropdowncombo. I'm trying to refer to the user
selection in the SelectedIndexChanged event. I select one of the last
items in the list. So far I have not been able to successfully access
either the text or the value using an index.
I've been plowing through deja.com to try and find a clue. The closest
I've gotten was someone mentioning in a September post that it didn't
work and you need to cast something. Sorry. I don't know anything about
fishing. I'm using VB for my code-behind.
Any suggestions including code snippets would be helpful.
My current, non-working code is....
If cmbFirst.Items(cmbFirst.SelectedIndex).Value = True Then
gg = cmbFirst.SelectedIndex
setSub(cmbFirst.Items(cmbFirst.Selectedindex).Text(),
cbSub1)
End If
TIA
selection in the SelectedIndexChanged event. I select one of the last
items in the list. So far I have not been able to successfully access
either the text or the value using an index.
I've been plowing through deja.com to try and find a clue. The closest
I've gotten was someone mentioning in a September post that it didn't
work and you need to cast something. Sorry. I don't know anything about
fishing. I'm using VB for my code-behind.
Any suggestions including code snippets would be helpful.
My current, non-working code is....
If cmbFirst.Items(cmbFirst.SelectedIndex).Value = True Then
gg = cmbFirst.SelectedIndex
setSub(cmbFirst.Items(cmbFirst.Selectedindex).Text(),
cbSub1)
End If
TIA