Assuming comboBoxData is instantiated as a ComboBox, which of the following statements would retrieve its selection and

Question:

Assuming comboBoxData is instantiated as a ComboBox, which of the following statements would retrieve its selection and place it in a string variable?

a. string s = ComboBox.Selection;

b. string s = ComboBox.comboBoxData.Text;

c. string s = comboBoxData.Text;

d. string s.Text = comboBoxData.Text;

e. none of the above

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: