This is a control that inherits repeater from pagination, supports URL paging, and supports postback paging.
The first effect.
Design-Time HTML code:
<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<title></title>
<body>
Urlpaging= "true" >
<HeaderTemplate>
<table style= "Border-collapse:collapse" border= "1" cellspacing= "0" bordercolor= "#000000"
cellpadding= "0" width= "100%" >
<thead>
<tr>
<th>
Product ID
</th>
<th>
Product Name
</th>
<th>
UnitPrice
</th>
<th>
SupplierId
</th>
<th>
ReorderLevel
</th>
</tr>
</thead>
<tbody>
</HeaderTemplate>
<ItemTemplate>
<tr>
<td>
<% # Eval ("ProductID")%>
</td>
<td>
<% # Eval ("ProductName")%>
</td>
<td>
<% # Eval ("UnitPrice")%>
</td>
<td>
<% # Eval ("SupplierID")%>
</td>
<td>
<% # Eval ("ReorderLevel")%>
</td>
</tr>
</ItemTemplate>
<FooterTemplate>
</tbody></table></FooterTemplate>
</body>