前台
<%@ Page Title="" Language=“C#” MasterPageFile="~/Site1.Master" AutoEventWireup=“true” CodeBehind=“WebForm1.aspx.cs” Inherits=“UI.WebForm1” %><asp:Content ID=“Content1” ContentPlaceHolderID=“head” runat=“server”></asp:Content><asp:Content ID=“Content2” ContentPlaceHolderID=“ContentPlaceHolder1” runat=“server”> <asp:TextBox ID=“txtName” runat=“server”></asp:TextBox> <asp:DropDownList ID=“ddlGJ” runat=“server”></asp:DropDownList> <asp:Button ID=“btnCX” runat=“server” Text=“查询” /> <asp:GridView ID=“gvUser” runat=“server” AllowPaging=“True” AutoGenerateColumns=“False” PageSize=“3” OnPageIndexChanging=“GridView1_PageIndexChanging”> <asp:BoundField HeaderText=“编号” DataField=“Id”/> <asp:BoundField HeaderText=“姓名” DataField=“Name”/> <asp:BoundField HeaderT