userregister.aspx

来自「在线考试系统完整版源码(C#&Access) 该考试系统为一同学毕业设计」· ASPX 代码 · 共 139 行

ASPX
139
字号
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UserRegister.aspx.cs" Inherits="UserRegister" %>

<%@ Register Assembly="WebValidates" Namespace="WebValidates" TagPrefix="cc1" %>

<!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>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table style="width: 540px; position: static; height: 413px">
        <tr>
            <td colspan="3">
                角色添加</td>
        </tr>
        <tr>
            <td style="width: 106px">
                编号:</td>
            <td style="width: 198px">
                <asp:TextBox ID="txtUid" runat="server" Style="position: static"></asp:TextBox></td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtUid"
                    ErrorMessage="*" Style="position: static"></asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td style="width: 106px">
                密码:</td>
            <td style="width: 198px">
                <asp:TextBox ID="txtPassword" runat="server" Style="position: static"></asp:TextBox></td>
            <td>
            </td>
        </tr>
        <tr>
            <td style="width: 106px; position: static; height: 1px">
                确认密码:</td>
            <td style="width: 198px; height: 1px">
                <asp:TextBox ID="txtQrPassword" runat="server" Style="position: static"></asp:TextBox></td>
            <td style="height: 1px">
                <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtPassword"
                    ControlToValidate="txtQrPassword" ErrorMessage="*" Style="position: static"></asp:CompareValidator></td>
        </tr>
        <tr>
            <td style="width: 106px;position: static; height: 1px">
                系别:</td>
            <td style="height: 1px; width: 198px;">
                <asp:DropDownList ID="dllDepartment" runat="server" Style="position: static">
                </asp:DropDownList></td>
            <td style="height: 1px">
            </td>
        </tr>
        <tr>
            <td style="width: 106px; height: 15px">
                姓名:</td>
            <td style="height: 15px; width: 198px;">
                <asp:TextBox ID="txtName" runat="server" Style="position: static"></asp:TextBox></td>
            <td style="height: 15px">
            </td>
        </tr>
        <tr>
            <td style="width: 106px;position: static; height: 15px;">
                性别:</td>
            <td style="width: 198px; height: 15px;">
                <asp:RadioButtonList ID="raSex" runat="server" Height="13px" RepeatDirection="Horizontal"
                    Style="position: static;" Width="156px">
                    <asp:ListItem Selected="True" Value="True">男</asp:ListItem>
                    <asp:ListItem Value="False">女</asp:ListItem>
                </asp:RadioButtonList>
            </td>
            <td style="height: 15px">
            </td>
        </tr>
        <tr>
            <td style="width: 106px; height: 11px;">
                地址:</td>
            <td style="width: 198px; height: 11px;">
                <asp:TextBox ID="txtAddress" runat="server" Style="position: static" Width="147px"></asp:TextBox></td>
            <td style="height: 11px">
            </td>
        </tr>
        <tr>
            <td style="width: 106px">
                电话:</td>
            <td style="width: 198px">
                <asp:TextBox ID="txtPhone" runat="server" Style="position: static"></asp:TextBox></td>
            <td>
            </td>
        </tr>
        <tr>
            <td style="width: 106px">
                E-mail:</td>
            <td style="width: 198px">
                <asp:TextBox ID="txtEmail" runat="server" Style="position: static"></asp:TextBox></td>
            <td>
            </td>
        </tr>
        <tr>
            <td style="width: 106px; height: 15px;">
                角色:</td>
            <td style="width: 198px; height: 15px;">
                <asp:DropDownList ID="dllRole" runat="server" Style="position: static">
                </asp:DropDownList></td>
            <td style="height: 15px">
            </td>
        </tr>
        <tr>
            <td style="width: 106px">
                验证码:</td>
            <td style="width: 198px">
                <asp:TextBox ID="txtYz" runat="server" Style="position: static"></asp:TextBox></td>
            <td>
                <cc1:serialnumber id="snCode" runat="server"></cc1:serialnumber>
            </td>
        </tr>
    </table>
    
    
     &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;
    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
    <br />
    <asp:Button ID="btnSave" runat="server" OnClick="btnSave_Click" Style="z-index: 100;
        left: 52px; position: absolute; top: 462px" Text="保存" Width="40px" />
    <asp:Button ID="btnCanel" runat="server" Style="z-index: 101; left: 258px; position: absolute;
        top: 462px" Text="返回" Width="40px" OnClick="btnCanel_Click" />
    <asp:Label ID="lblMessage" runat="server" Style="z-index: 103; left: 139px; position: absolute;
        top: 463px" Width="87px"></asp:Label>
    <br />
    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;



    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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