Ask Question

Which of the following statements will assign the contents of the Text property of a Textbox control named txtInput into the Text property of a label control named lblDisplay?

A) txtInput. Text = lblDisplay. Text

B) lblDisplay = txtInput

C) lblDisplay. Text = txtInput. Text

D) txtInput = lblDisplay

+4
Answers (1)
  1. 23 February, 17:57
    0
    C) lblDisplay. Text = txtInput. Text

    Explanation:

    A TextBox control is used to display, or accept as input, a single line of text, while the label control is generally used to display some informative text on the GUI which is not changed during runtime.

    The lblDisplay acts as the variable which accepts input from users through the txtIput
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Which of the following statements will assign the contents of the Text property of a Textbox control named txtInput into the Text property ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers