This should be simple enough but I a m having trouble figuring it out.
I have two controls on a page a combobox and a text box. I want the text box to appear if I select the an option in the combobox. The combobox has two items in its' collection properties Yes and No. If I select Yes I want the text box to appear. What is the easiest way to do this? Here is the code i have so far. Thank you for your help in advance.
Public Class Form3
Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged
If ComboBox1.ValueMember = "Yes" Then
TextBox1.Visible = True