<asp:GridView ID="GridViewUsers" runat="server" AllowPaging="True" DataSourceID="ObjUsers" EmptyDataText="没有可显示的数据记录" AutoGenerateColumns="false" AllowSorting="true" DataKeyNames="Id" PageSize="2" PagerSettings-FirstPageText="首 页" PagerSettings-LastPageText="尾 页" PagerSettings-NextPageText="下一页" PagerSettings-PreviousPageText="上一页" PagerSettings-Mode="NextPreviousFirstLast" PagerStyle-HorizontalAlign="Center" BorderWidth="0" CellPadding="0" CellSpacing="0" CssClass="data-table" Width="100%">... </asp:GridView>