/ Published in: Visual Basic
Example to change the selected item in a ComboBox, in code behind. For VB.Net
- Dim value as string = "1"
- comboname.FindItemByValue(value).Selected = True
- 'This select the first element of the combo if the DefaultValue is numeric, in other case, change the value var 'value'.
You need to login to post a comment.