nerdexam
Microsoft

98-363 · Question #21

You set a DataTable as the data source for an <asp:DropDownList> control. The DataTable has a field named UserName. You need to display the UserName field values as the display text in the…

The correct answer is C. Set the DataTextField property of the <asp:DropDownList> control to UserName. See the full explanation below for the reasoning.

Question

You set a DataTable as the data source for an asp:DropDownList control. The DataTable has a field named UserName. You need to display the UserName field values as the display text in the asp:DropDownList control. What should you do?

Options

How the community answered

(18 responses)
  • B
    6% (1)
  • C
    83% (15)
  • D
    11% (2)

Community Discussion

No community discussion yet for this question.

Full 98-363 Practice