The DataTextField property of a DropDownList control is used to specify the ___________ of the data items to display.

  • Key
  • Label
  • Text
  • Value
The correct answer is "Text." The DataTextField property is used to specify the field from the data source that will be displayed as the text in the DropDownList control. For instance, if your data source has a "Name" field, you would set DataTextField to "Name" to display names in the DropDownList.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *