VillageInfo.aspx

(开头部分) 7KB

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

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

<!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: 600px; 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 style="height: 300px" align="left" valign="top">
                <asp:GridView ID="GridView1" runat="server" DataSourceID="SqlDataSource1" AutoGenerateColumns="False" OnRowCommand="GridView1_RowCommand" CellPadding="4" ForeColor="#333333" GridLines="None" Width="100%" DataKeyNames="villageID,villageName,remark" OnRowCreated="GridView1_RowCreated" OnRowDeleting="GridView1_RowDeleting" AllowSorting="True" OnDataBound="GridView1_DataBound">
                    <Columns>
                        <asp:CommandField ShowDeleteButton="True" ShowEditButton="True">
                            <ItemStyle Font-Size="Small" />
                        </asp:CommandField>
                        <asp:BoundField DataField="villageID" HeaderText="村编号" ReadOnly="True" SortExpression="villageID">
                            <ItemStyle Font-Size="Smaller" />
                            <HeaderStyle Font-Size="Smaller" />
                        </asp:BoundField>
                        <asp:BoundField DataField="villageName" HeaderText="村名称" SortExpression="villageName">
                            <ItemStyle Font-Size="Smaller" />
                            <HeaderStyle Font-Size="Smaller" />
                        </asp:BoundField>
                        <asp:BoundField DataField="remark" HeaderText="说明村" SortExpression="remark">
                            <ItemStyle Font-Size="Smaller" />
                            <HeaderStyle Font-Size="Smaller" />
                        </asp:BoundField>
                        <asp:ButtonField CommandName="Insert" Text="插入">
                            <ItemStyle Font-Size="Small" />
                        </asp:ButtonField>
                        <asp:ButtonField SortExpression="villageID" Text="该村组" CommandName="group" HeaderText="组" >
                            <ItemStyle Font-Size="Smaller" />
                            <HeaderStyle Font-Size="Smaller" />
                        </asp:ButtonField>
                    </Columns>
                    <EmptyDataTemplate>
                        <asp:DetailsView ID="DetailsView1" runat="server" AutoGenerateRows="False" DataKeyNames="villageID,villageName,remark"
                            DataSourceID="SqlDataSource1" DefaultMode="Insert" Height="3px"
                            Width="223px" OnItemCommand="DetailsView1_ItemCommand">
                            <Fields>
                                <asp:BoundField DataField="villageID" HeaderText="村编号" ReadOnly="True" SortExpression="villageID" />
                                <asp:BoundField DataField="villageName" HeaderText="村名称" SortExpression="villageName" />
                                <asp:BoundField DataField="remark" HeaderText="村说明" SortExpression="remark" />
                                <asp:CommandField ShowInsertButton="True" />
                            </Fields>
后面还有 59 行代码,解锁后查看完整代码

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

AI 解读

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

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