I have a drop-down menu, and a text box. When the user selects an item from the drop-down menu, I would like to have the textbox.text update to reflect the DropDown.SelectedValue
I know this should be easy but....
This code obviously is not working:
Any suggestions? Thanks.
I know this should be easy but....
This code obviously is not working:
Private Sub DropDown_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DropDown.SelectedIndexChanged
txtBox.Text = DropDown.SelectedValue
End Sub
txtBox.Text = DropDown.SelectedValue
End Sub
Any suggestions? Thanks.