usesqxxgl_new.aspx

来自「小区警务管理系统」· ASPX 代码 · 共 122 行

ASPX
122
字号
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="usesqxxgl_new.aspx.cs" Inherits="web.SubDocument.usesqxxgl_new" %>

<!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>usesqxxgl_new</title>
    <link type="text/css" href="../css/Main.css" rel="Stylesheet" />

    <script src="../js/admin.js" type="text/jscript"></script>
    <script type="text/javascript">
        function checkme(){
            if(document.getElementById("TextBox1").value==""){
                alert("请输入社区名称!");
                document.getElementById("TextBox1").focus();
                return false;
            }
            if(window.document.getElementById("DropDownList1").value=="-1"){
				window.alert("请您选择负责人!");
				window.document.getElementById("DropDownList1").focus();
				return false;
			}
			if(window.document.getElementById("DropDownList2").value=="-1"){
				window.alert("请您选择所在街道办!");
				window.document.getElementById("DropDownList2").focus();
				return false;
			}
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="title">
        <div style="background-image: url(../images/x16.gif);">
            社区信息添加</div>
    </div>
    <div style="text-align: right; line-height: 200%; background-color: #F7F7F7; margin-bottom: 5px;">
        <asp:Button ID="save" CssClass="btn_mouseout" onmouseover="this.className='btn_mouseover'"
            onmouseout="this.className='btn_mouseout'" runat="server" Text="保 存" OnClick="save_Click" />
        <asp:Button ID="back" CssClass="btn_mouseout" onmouseover="this.className='btn_mouseover'"
            onmouseout="this.className='btn_mouseout'" runat="server" Text="返 回" OnClick="back_Click" />
    </div>
    <div style="text-align: center;">
        <table border="1" cellpadding="0" cellspacing="0" width="90%">
            <tr>
                <td style="background-color: #98BAE8; text-align: left; height: 30px;">
                    社区名称:
                </td>
                <td style="width: 40%; text-align: left; height: 30px;">
                    <asp:TextBox ID="TextBox1" CssClass="txt_lostfocus" Width="200px" runat="server"></asp:TextBox>
                </td>
                <td style="background-color: #98BAE8; width: 100px; text-align: left; height: 30px;">
                    负责人:
                </td>
                <td style="width: 40%; text-align: left; height: 30px;"><asp:DropDownList ID="DropDownList1" runat="server">
                    </asp:DropDownList>
                    
                </td>
            </tr>
            <tr>
                <td style="background-color: #98BAE8; text-align: left; height: 30px;">
                    社区干部人数:
                </td>
                <td style="width: 40%; text-align: left; height: 30px;">
                    <asp:TextBox ID="TextBox2" CssClass="txt_lostfocus" Width="200px" runat="server"></asp:TextBox>
                </td>
                <td style="background-color: #98BAE8; width: 100px; text-align: left; height: 30px;">
                    治保会人数:
                </td>
                <td style="width: 40%; text-align: left; height: 30px;">
                    <asp:TextBox ID="TextBox3" CssClass="txt_lostfocus" Width="200px" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td style="background-color: #98BAE8; text-align: left; height: 30px;">
                    户数:
                </td>
                <td style="width: 40%; text-align: left; height: 30px;">
                    <asp:TextBox ID="TextBox4" CssClass="txt_lostfocus" Width="200px" runat="server"></asp:TextBox>
                </td>
                <td style="background-color: #98BAE8; width: 100px; text-align: left; height: 30px;">
                    常住人口数:
                </td>
                <td style="width: 40%; text-align: left; height: 30px;">
                    <asp:TextBox ID="TextBox5" CssClass="txt_lostfocus" Width="200px" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td style="background-color: #98BAE8; text-align: left; height: 30px;">
                    暂住人口数:
                </td>
                <td style="width: 40%; text-align: left; height: 30px;">
                    <asp:TextBox ID="TextBox6" CssClass="txt_lostfocus" Width="200px" runat="server"></asp:TextBox>
                </td>
                <td style="background-color: #98BAE8; width: 100px; text-align: left; height: 30px;">
                    出租房屋数:
                </td>
                <td style="width: 40%; text-align: left; height: 30px;">
                    <asp:TextBox ID="TextBox7" CssClass="txt_lostfocus" Width="200px" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td style="background-color: #98BAE8; text-align: left; height: 30px;">
                    所在街道办:
                </td>
                <td style="width: 40%; text-align: left; height: 30px;">
                    <asp:DropDownList ID="DropDownList2" runat="server">
                    </asp:DropDownList>
                </td>
                <td style="background-color: #98BAE8; width: 100px; text-align: left; height: 30px;">
                   备注:
                </td>
                <td style="width: 40%; text-align: left; height: 30px;">
                    <asp:TextBox ID="TextBox8" CssClass="txt_lostfocus" Width="200px" runat="server"></asp:TextBox>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?