vs2008中分页控件DataPager收藏

在使用VS2008过程,发现有了全新的分页控件
<asp:DataPager ID="DataPager1" runat="server" PagedControlID="ListView1" PageSize="4">
            <Fields>
                <asp:NextPreviousPagerField ButtonType="Button" ShowFirstPageButton="true" ShowPreviousPageButton="true"
                    ShowLastPageButton="false" ShowNextPageButton="false" FirstPageText="首页" PreviousPageText="上一页" />
                <asp:NumericPagerField  />
                <asp:NextPreviousPagerField ButtonType="Button" ShowNextPageButton="true" ShowLastPageButton="true"
                    ShowFirstPageButton="false" ShowPreviousPageButton="false" LastPageText="末页"
                    NextPageText="下一页" />
           
            </Fields>
           
        </asp:DataPager>
posted @ 2008-11-23 09:56 WUYQ 阅读(...) 评论(...) 编辑 收藏