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:
Related Book For
C# Programming From Problem Analysis To Program Design
ISBN: 9781285856872
5th Edition
Authors: Barbara Doyle
Question Posted: