如何更改DataPager控件中元素的位置
我如何获得此订单
<< < 1 2 3 4 5 ...> >>
这是我的代码
<asp:DataPager ID="DataPager1" runat="server" PagedControlID="" PageSize="10" >
<Fields>
<asp:NextPreviousPagerField
ShowFirstPageButton="True"
ButtonCssClass="" ButtonType="Link"
FirstPageText="<<" LastPageText="<<"
NextPageText=">" PreviousPageText="<"
ShowLastPageButton="True" ShowNextPageButton="True"
ShowPreviousPageButton="True" />
<asp:NumericPagerField
ButtonType="Link"
PreviousPageText="privuse"
RenderNonBreakingSpacesBetweenControls="False"/>
</Fields>
</asp:DataPager>
答案 0 :(得分:0)
在搜索之后我可以为答案提供资金
编辑后我的代码
<asp:DataPager ID="DataPager1" runat="server" PagedControlID="" PageSize="10" >
<Fields>
<asp:NextPreviousPagerField
ButtonType="Link"
LastPageText="<<"
PreviousPageText="<"
ShowLastPageButton="True"
ShowPreviousPageButton="True" />
<asp:NumericPagerField
ButtonType="Link"
PreviousPageText="privuse"
RenderNonBreakingSpacesBetweenControls="False"
/>
<asp:NextPreviousPagerField
ShowFirstPageButton="True"
ButtonType="Link"
FirstPageText=">>"
NextPageText=">"
ShowNextPageButton="True" />
</Fields>
</asp:DataPager>