Francis_B
asked on
Replace ComboBox ListIndex
Hey Experts,
The following code is from VB6, and it actually replace the ListIndex of a ComboBox with my table's primary Key.
Does someone knows of any way to do this in C# ?
mission.AddItem tb_mission("mission_type_n ame_e")
mission.ItemData(mission.N ewIndex) = Val(tb_mission("mission_ty pe_id"))
val_mission_type = combo_mission_type.ItemDat a(combo_mi ssion_type .ListIndex )
The following code is from VB6, and it actually replace the ListIndex of a ComboBox with my table's primary Key.
Does someone knows of any way to do this in C# ?
mission.AddItem tb_mission("mission_type_n
mission.ItemData(mission.N
val_mission_type = combo_mission_type.ItemDat
use combobox.SelectedIndex in c# .net
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.