/ Published in: Visual Basic

Example to change the selected item in a ComboBox, in code behind. For VB.Net
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
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'.
Comments
