⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 userinfo.aspx

📁 学生寝室管理系统
💻 ASPX
📖 第 1 页 / 共 2 页
字号:
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="userinfo.aspx.cs" Inherits="userinfo" Title="学生寝室管理系统" %>
<%@ OutputCache Duration ="60" VaryByParam ="Client" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div align="center">
        <table border="0" height="399" style="width: 966px">
            <tr>
                <td style="height: 19px">
                    <div align="center" style="font-weight: bold; font-size: 15px">
                        学生寝室管理系统-&gt;个人信息修改页面</div>
                </td>
            </tr>
            <tr>
                <td style="height: 339px">
                    <div align="center">
                        <asp:Panel ID="Panel1" runat="server" Height="50px" Width="650px">
                            <table id="TABLE1" language="javascript" onclick="return TABLE1_onclick()" style="width: 671px; cursor: hand; height: 198px; font-size: 14px; border-left-color: white; border-bottom-color: white; border-top-style: none; border-top-color: white; border-right-style: none; border-left-style: none; border-right-color: white; border-bottom-style: none;">
                                <tr>
                                    <td align="left" colspan="4" style="font-weight: bold; font-size: 16px; color: white;
                                        height: 26px; background-color: black">
                                        学生基本资料(注意标记(*)项目为必填项)</td>
                                </tr>
                                <tr style="color: #000000">
                                    <td align="right" colspan="2" style="height: 9px; width: 194px;">
                                        真实姓名:</td>
                                    <td align="left" colspan="2" style="width: 545px; height: 9px; font-size: 13px;">
                                        <asp:TextBox ID="txtname" runat="server"></asp:TextBox>(*)<asp:RequiredFieldValidator
                                            ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtname" Display="Dynamic"
                                            Font-Bold="False" Style="font-size: 15px">"用户名称"必须填写</asp:RequiredFieldValidator>
                                        <asp:RegularExpressionValidator ID="a_yzzz2" runat="server" ControlToValidate="txtname"
                                            ErrorMessage="中文" ValidationExpression="^[\u4E00-\u9FA5]{1,5}"></asp:RegularExpressionValidator></td>
                                </tr>
                                <tr style="color: #000000">
                                    <td align="right" colspan="2" style="height: 19px; width: 194px;">
                                        登录密码:</td>
                                    <td align="left" colspan="2" style="width: 545px; height: 19px; font-size: 13px;">
                                        <asp:TextBox ID="txtuserpwd" runat="server" TextMode="Password"></asp:TextBox>(*)<asp:RequiredFieldValidator
                                            ID="RequiredFieldValidator13" runat="server" ControlToValidate="txtuserpwd" Display="Dynamic"
                                            ErrorMessage="RequiredFieldValidator" Style="font-size: 15px">"登录密码"必填</asp:RequiredFieldValidator>
                                        <asp:RegularExpressionValidator ID="RegularExpressionValidator6" runat="server" ControlToValidate="txtuserpwd"
                                            Display="Dynamic" ErrorMessage="密码必须在6-20位之间" Font-Size="13px" Style="font-size: 15px"
                                            ValidationExpression=".{6,20}"></asp:RegularExpressionValidator></td>
                                </tr>
                                <tr style="color: #000000">
                                    <td align="right" colspan="2" style="height: 19px; width: 194px; font-size: 14px;">
                                        确认密码:</td>
                                    <td align="left" colspan="2" style="width: 545px; height: 19px">
                                        <asp:TextBox ID="txtuserpwdagina" runat="server" TextMode="Password"></asp:TextBox>(*)<asp:CompareValidator
                                            ID="CompareValidator2" runat="server" ControlToCompare="txtuserpwd" ControlToValidate="txtuserpwdagina"
                                            ErrorMessage="CompareValidator" Style="font-size: 15px" Display="Dynamic">请输入相同的密码</asp:CompareValidator><asp:RequiredFieldValidator
                                                ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtuserpwdagina"
                                                Display="Dynamic" ErrorMessage="RequiredFieldValidator" Style="font-size: 15px">"确认登录密码"必填</asp:RequiredFieldValidator></td>
                                </tr>
                                <tr style="color: #000000">
                                    <td align="right" colspan="2" style="height: 9px; width: 194px;">
                                        性别:</td>
                                    <td align="left" colspan="2" style="width: 545px; height: 9px">
                                        <asp:DropDownList ID="ddlsex" runat="server" Style="font-weight: normal; color: black">
                                            <asp:ListItem>请选择</asp:ListItem>
                                            <asp:ListItem>男</asp:ListItem>
                                            <asp:ListItem>女</asp:ListItem>
                                        </asp:DropDownList></td>
                                </tr>
                                <tr style="color: #000000">
                                    <td align="right" colspan="2" style="height: 9px; width: 194px;">
                                        年龄:</td>
                                    <td align="left" colspan="2" style="width: 545px; height: 9px">
                                        <asp:TextBox ID="txtage" runat="server"></asp:TextBox>(*)<asp:RangeValidator ID="RangeValidator2"
                                            runat="server" ControlToValidate="txtage" Display="Dynamic" ErrorMessage="年龄超出范围(1-150)"
                                            MaximumValue="150" MinimumValue="1" Type="Integer"></asp:RangeValidator><asp:RequiredFieldValidator
                                                ID="RequiredFieldValidator11" runat="server" ControlToValidate="txtage" ErrorMessage="年龄要填写哦?"></asp:RequiredFieldValidator></td>
                                </tr>
                                <tr style="color: #000000">
                                    <td align="right" colspan="2" style="height: 5px; width: 194px;">
                                        民族:</td>
                                    <td align="left" colspan="2" style="width: 545px; height: 5px">
                                        <asp:DropDownList ID="ddlminzu" runat="server" DataSourceID="SqlDataSource1" DataTextField="minzu"
                                            DataValueField="minzu" Style="color: black">
                                        </asp:DropDownList><asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="Data Source=.;Initial Catalog=studenthome;Integrated Security=True"
                                            ProviderName="System.Data.SqlClient" SelectCommand="SELECT [minzu] FROM [minzu]">
                                        </asp:SqlDataSource>
                                    </td>
                                </tr>
                                <tr style="color: #000000">
                                    <td align="right" colspan="2" style="height: 9px; width: 194px;">
                                        出生日期:</td>
                                    <td align="left" colspan="2" style="width: 545px; height: 9px">
                                        <asp:DropDownList ID="ddlyear" runat="server" Style="font-weight: normal; color: black">
                                        </asp:DropDownList>
                                        年<asp:DropDownList ID="ddlmonth" runat="server" OnSelectedIndexChanged="ddlmonth_SelectedIndexChanged"
                                            Style="font-weight: normal; color: black">
                                        </asp:DropDownList>
                                        月<asp:DropDownList ID="ddlday" runat="server" Style="font-weight: normal">
                                        </asp:DropDownList>日</td>
                                </tr>
                                <tr style="color: #000000">
                                    <td align="right" colspan="2" style="height: 9px; width: 194px;">
                                        家庭住址:</td>
                                    <td align="left" colspan="2" style="width: 545px; height: 9px">
                                        <asp:TextBox ID="txtaddress" runat="server"></asp:TextBox></td>
                                </tr>
                                <tr style="color: #000000">
                                    <td align="right" colspan="2" style="height: 9px; width: 194px;">
                                        家庭电话号码:</td>
                                    <td align="left" colspan="2" style="width: 545px; height: 9px">
                                        <asp:TextBox ID="txtuserphone" runat="server"></asp:TextBox>(*)<asp:RequiredFieldValidator
                                            ID="RequiredFieldValidator10" runat="server" ControlToValidate="txtuserphone"
                                            Display="Dynamic" ErrorMessage="家庭电话号码必填"></asp:RequiredFieldValidator><asp:RegularExpressionValidator
                                                ID="RegularExpressionValidator4" runat="server" ControlToValidate="txtuserphone"
                                                ErrorMessage="请输入7位或8位的家庭电话号码" ValidationExpression="(\(\d{3,4}\)|\d{3,4}-)?\d{7,8}"></asp:RegularExpressionValidator></td>
                                </tr>
                                <tr style="color: #000000">
                                    <td align="right" colspan="2" style="height: 9px; width: 194px;">
                                        E-mail地址:</td>
                                    <td align="left" colspan="2" style="width: 545px; height: 9px">
                                        <asp:TextBox ID="txtuseremail" runat="server"></asp:TextBox>(*)<asp:RequiredFieldValidator
                                            ID="RequiredFieldValidator12" runat="server" ControlToValidate="txtuseremail"
                                            Display="Dynamic" ErrorMessage="E-mail地址不能为空"></asp:RequiredFieldValidator><asp:RegularExpressionValidator
                                                ID="RegularExpressionValidator3" runat="server" ControlToValidate="txtuseremail"
                                                Display="Dynamic" ErrorMessage="E-mail地址输入有误" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator></td>
                                </tr>
                                <tr style="color: #000000">
                                    <td align="right" colspan="2" style="height: 9px; width: 194px;">
                                        在宿舍的身份:</td>
                                    <td align="left" colspan="2" style="width: 545px; height: 9px">
                                        <asp:TextBox ID="txthomeshenfen" runat="server" ReadOnly="True"></asp:TextBox>
                                        <asp:Label ID="Label3" runat="server" ForeColor="Red" Text="不能修改"></asp:Label></td>
                                </tr>
                                <tr style="color: #000000">
                                    <td align="left" colspan="4" style="font-weight: bold; font-size: 16px; color: white;
                                        height: 9px; background-color: black">
                                        班级信息填写(注意标记(*)项目为必填项)</td>
                                </tr>
                                <tr style="color: #000000">
                                    <td align="right" colspan="2" style="height: 9px; width: 194px;">
                                        学号:</td>
                                    <td align="left" colspan="2" style="width: 545px; height: 9px; font-weight: normal; font-size: 15px; color: black;">
                                        <asp:TextBox ID="txtuserid" runat="server" ReadOnly="True"></asp:TextBox>(*)<asp:Label
                                            ID="Label2" runat="server" ForeColor="Red" Text="不能修改"></asp:Label></td>
                                </tr>
                                <tr style="color: #000000">
                                    <td align="right" colspan="2" style="height: 9px; width: 194px;">
                                        入学时间:</td>
                                    <td align="left" colspan="2" style="width: 545px; height: 9px"><asp:DropDownList ID="DropDownList1" runat="server" Style="font-weight: normal; color: black">
                                    </asp:DropDownList>
                                        年<asp:DropDownList ID="DropDownList2" runat="server" OnSelectedIndexChanged="ddlmonth_SelectedIndexChanged"

⌨️ 快捷键说明

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