Wednesday, December 9, 2009

Repeater Control

The Repeater control renders a read-only list from a set of records returned from
a data source. Like the FormView control, the Repeater control does not specify
a built-in layout. Instead you create the layout for the Repeater control using templates.

The Repeater control is used to display a repeated list of items that are bound
to the control.

Repeater is used when you want to just read your data, Read Only but here you can customize everything, repeater provide full control for UI.
<asp:Repeater ID="Repeater1" runat="server">
<HeaderTemplate>
</HeaderTemplate>
<ItemTemplate>
</ItemTemplate>
<AlternatingItemTemplate>
</AlternatingItemTemplate>
<SeparatorTemplate>
</SeparatorTemplate>
<FooterTemplate>
</FooterTemplate>
</asp:Repeater>

No comments:

Post a Comment