- Then create a Repeater control in an
.aspx page where
- The contents of the HeaderTemplate element are rendered first and only once within the output.
- The contents of the ItemTemplate element are repeated for each record in the
DataSet .
- The contents of the FooterTemplate element are rendered once within the output.
|
|
<html>
<body>
<form runat="server">
<asp:Repeater
id="cdcatalog"
runat="server">
<HeaderTemplate>
...
</HeaderTemplate>
<ItemTemplate>
...
</ItemTemplate>
<FooterTemplate>
...
</FooterTemplate>
</asp:Repeater>
</form>
</body>
</html>
|
|