General information
Title:
ListIndex vs SelectedIndex
Hi,
With the ComboBox...
What is the equivalent code of ListIndex in Vb.Net ?
I tried SelectedIndex property but it's not work. I still see the text in the combobox.
Here's my code...
'Fill ManPowerCtrl
With ManPowerCtrl
.DataSource = mManPowerDal.GetManPowerAvailableByCriteria(mManPowerDate, mManPowerShift).Tables(0)
.DisplayMember = ManPowerDAL.ManPowerEmploye
.ValueMember = ManPowerDAL.ManPowerIdEffectif
.SelectedIndex = -1
End With
Thank in advance...
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only