Hour 12

Quiz Answers

1: True or false: You can use templates to format the content of the Repeater control.
A1: True. The Repeater control has a set of templates that can be used to format data using HTML.
2: Name the property of the DataList that is used to specify the number of columns generated.
A2: The RepeatColumn property of the DataList is used to specify the number of columns generated by the control.
3: True or false: You can use the Repeater object to automatically page through a large quantity of data.
A3: False. Though it is possible to implement paging using the Repeater control, it is not native to the control and thus cannot be done automatically. To implement paging, use the DataGrid object.

Get Sams Teach Yourself ADO.NET in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.