ASP.NET 3.5 ~ DataPager + CSS

<style>
.currentPageItem
{
border:1px #000 solid;
}
.pageItem
{
border:1px #F00 solid;
}
</style>


<asp:DataPager ID="DataPager1" runat="server" PageSize="5">
<Fields>
<asp:NumericPagerField CurrentPageLabelCssClass="currentPageItem" NumericButtonCssClass="pageItem" />
</Fields>
</asp:DataPager>

沒有留言: