Which of the following statements will retrieve the text of a Label

Which of the following statements will retrieve the text of a Label

Which of the following statements will retrieve the text of aLabel called lblFirstNameĀ and place it in a string variablecalled strĀ?string str = lblFirstName.Selection();string str = lblFirstName.Text;string str = lblFirstName.getText();string str = lblFirstName.SelectedItem; Often, multiple objects are placed together on a Panel or control. The user can only select one of them.CheckBox, TextBoxListBox, GroupBoxRadioButton, GroupBoxTextBox, ListBox


Comments are closed.