<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register Assembly="UcfarPager" Namespace="UcfarPager" TagPrefix="cc1" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>分页演示|- 51aspx.com</title>
    <style type="text/css">
        *{font-size:12px;font-family:verdana;}
        table{ 
border-collapse:collapse; width:750px;
} 
td{ 
border:solid 1px #CEE3E9; 
height:22px;width:100px 
} 
input {
	PADDING-BOTTOM: 0px; PADDING-LEFT: 4px; PADDING-RIGHT: 0px; FONT-SIZE: 14px; PADDING-TOP: 2px;border:solid 1px #d8e2e1; background-color:#F1F7F9;
}
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div style="margin-top:10px;">
                汉字：<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
        <asp:Button ID="Button1"
            runat="server" Text="查询" OnClick="Button1_Click" />
    </div>
        <asp:GridView ID="GridView1" runat="server" BackColor="White" BorderColor="#DEDFDE" BorderStyle="None" BorderWidth="1px" CellPadding="4" ForeColor="Black" GridLines="Vertical" Width="552px">
            <FooterStyle BackColor="#CCCC99" />
            <RowStyle BackColor="#F7F7DE" />
            <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
            <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
            <AlternatingRowStyle BackColor="White" />
        </asp:GridView>
    <br />
            <cc1:UcfarPager ID="UcfarPager1" runat="Server" MainTableStyle="text-align:left;" 
            onpagechanged="UcfarPager1_PageChanged" PageSize="15"   NavigatePreviousText="上一页" NavigateNextText="下一页"   >
        </cc1:UcfarPager>

   
    </form>
   
</body>

</html>
