This is annoying me to no end.
The value of TextBox1.Text is always equal to ComboBox1.Item(0) regardless of what item is selected in the ComboBox. The DropDownStyle is set to DropDownList.Code:Public Sub ComboBox1_SelectedIndexChanged(ByVal sender As Object, ByVal e As EventArgs) Handles ComboBox1.SelectedIndexChanged Me.TextBox1.Text = Me.ComboBox1.SelectedItem.ToString() End Sub
Any ideas?




Reply With Quote