Microsoft
98-363 · Question #58
You have an <asp:Repeater> control named repUsers. The data source of repUsers is set to a DataTable that contains data. When the Web page renders, no exceptions are thrown, but no data is displayed…
The correct answer is D. Call repUsers.DataBind(). See the full explanation below for the reasoning.
Question
You have an asp:Repeater control named repUsers. The data source of repUsers is set to a DataTable that contains data. When the Web page renders, no exceptions are thrown, but no data is displayed in repUsers. You need to ensure that the data is displayed in repUsers. What should you do?
Options
- ASet repUsers.EnableDataBinding="true"
- BCall Page,DataBind()
- CSet Page.EnableDataBinding="true"
- DCall repUsers.DataBind()
How the community answered
(55 responses)- A15% (8)
- B9% (5)
- C4% (2)
- D73% (40)
Community Discussion
No community discussion yet for this question.