S
shapper
Hello,
I need to create a code at runtime:
<table>
<thead>
<tr>
<th>Company</th>
<th>Contact</th>
<th>Title</th>
<th>Address</th>
<th>City</th>
<th>Postal Code</th>
<th>Country</th>
<th>Phone</th>
</tr>
</thead>
<tbody id="itemContainer" runat="server"></tbody>
<tfoot>
<tr>
<th style="text-align:right" colspan="8">
<aspataPager runat="server" ID="dpCustomers"
PageSize="10">
<Fields>
<asp:NumericPagerField ButtonCount="5"/>
</Fields>
</aspataPager>
</th>
</tr>
</tfoot>
</table>
I am using string builder but my problem is how to add the DataPager
and place it inside the th tag.
How should I do this?
Thanks,
Miguel
I need to create a code at runtime:
<table>
<thead>
<tr>
<th>Company</th>
<th>Contact</th>
<th>Title</th>
<th>Address</th>
<th>City</th>
<th>Postal Code</th>
<th>Country</th>
<th>Phone</th>
</tr>
</thead>
<tbody id="itemContainer" runat="server"></tbody>
<tfoot>
<tr>
<th style="text-align:right" colspan="8">
<aspataPager runat="server" ID="dpCustomers"
PageSize="10">
<Fields>
<asp:NumericPagerField ButtonCount="5"/>
</Fields>
</aspataPager>
</th>
</tr>
</tfoot>
</table>
I am using string builder but my problem is how to add the DataPager
and place it inside the th tag.
How should I do this?
Thanks,
Miguel