Search.aspx

(开头部分) 14KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

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

<!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"  runat="server">
<head>
    <title>村子信息</title>
</head>
<body style="width: 100%; height: 800px" >
<form id=Form1 method=post runat="server" style="background-color: #f4ffff">
    <table border="0" cellpadding="0" cellspacing="0" runat="server" style="width: 100%; height: 100%">
        <tr>
            <td style="height: 15px; font-weight: normal; font-size: 15pt; color: black; font-style: normal; font-family: 黑体;" align="center">
                &nbsp;峨眉山信息维护</td>
        </tr>
        <tr>
            <td style="height: 26px" align="center">
            <input id="VillageButton" type="button" onclick="VillageClick()" value="村信息维护" style="font-size: 8pt" />
                <input id="TeamButton" type="button" onclick="TeamClick()" value="组信息维护" style="font-size: 8pt" />
               <input id="PeopleButton" type="button" value="村民信息维护" onclick="PeopleClick()" style="font-size: 8pt" />
                <input id="HouseButton" type="button" value="房屋信息维护" onclick="HouseClick()" style="font-size: 8pt" />&nbsp;
                <input id="SelectButton" style="font-size: 8pt" type="button" value="快速查询" onclick="return SelectButton_onclick()" /></td>
        </tr>
        <tr>
            <td align="center" style="height: 28px" valign="top">
                <asp:DropDownList ID="DDLID1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
                    <asp:ListItem Selected="True" Value="village">村</asp:ListItem>
                    <asp:ListItem Value="team">组</asp:ListItem>
                    <asp:ListItem Value="people ">村民</asp:ListItem>
                    <asp:ListItem Value="house">房屋</asp:ListItem>
                </asp:DropDownList>
                &nbsp; &nbsp; &nbsp;&nbsp;
                <asp:DropDownList ID="DDLID2" runat="server">
                </asp:DropDownList> &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;<asp:TextBox ID="SearchID" runat="server"></asp:TextBox>
                &nbsp;&nbsp; &nbsp;&nbsp;<asp:Button ID="SearchButton" runat="server" Text="查询" OnClick="SearchButton_Click" /></td>
            <td align="left" style="height: 28px" valign="top">
            </td>
            <td align="left" style="height: 28px" valign="top">
            </td>
        </tr>
        <tr>
            <td style="height: 463px" align="center" valign="top">
                <asp:GridView ID="GridViewVillage" runat="server" AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" GridLines="None"
                    Width="100%" Visible="False" OnRowCancelingEdit="GridViewVillage_RowCancelingEdit" OnRowEditing="GridViewVillage_RowEditing" OnRowUpdating="GridViewVillage_RowUpdating" OnRowCreated="GridViewVillage_RowCreated" OnRowDeleting="GridViewVillage_RowDeleting">
                    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <Columns>
                        <asp:BoundField HeaderText="村子编号" DataField="villageID" ReadOnly="True">
                            <ItemStyle Font-Size="Small" />
                            <HeaderStyle Font-Size="Small" />
                        </asp:BoundField>
                        <asp:BoundField HeaderText="村子名称" DataField="villageName">
                            <ItemStyle Font-Size="Small" />
                            <HeaderStyle Font-Size="Small" />
                        </asp:BoundField>
                        <asp:BoundField HeaderText="村子说明" DataField="remark">
                            <ItemStyle Font-Size="Small" />
                            <HeaderStyle Font-Size="Small" />
                        </asp:BoundField>
                        <asp:ButtonField CommandName="Delete" HeaderText="删除" Text="删除">
后面还有 176 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。