pages/User/UserAdd.aspx

(开头部分) 3KB

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

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




<!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>
    <link href="../css/style.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript">
<!--

function btnReset_onclick() {

}

// -->
</script>
</head>
<body background ="../../images/物资右侧背景.jpg"  class="Font">
    <form id="form1" runat="server">
   
    <div style="text-align: left" class="font">
        <table bordercolor="navy" cellpadding="0" cellspacing="0" style="width: 401px; font-size: 12px; text-align: left;" class="Font" align="center">
            
            <tr>
                <td style="width: 107px; text-align: left;">
                    用户名</td>
                <td style="width: 362px; text-align: left;">
                    <asp:TextBox ID="txtUserName" runat="server" Width="141px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtUserName"
                        ErrorMessage="*" ValidationGroup="1"></asp:RequiredFieldValidator>
                    <asp:LinkButton ID="lnkbtnUserName" runat="server" OnClick="lnkbtnUserName_Click" ValidationGroup="1">检查用户名</asp:LinkButton></td>
            </tr>
            <tr style="color: #000000">
                <td style="width: 107px; text-align: left;">
                    
                    密码</td>
                <td style="width: 362px; text-align: left;">
                   <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" Width="141px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtPassword"
                        ErrorMessage="*"></asp:RequiredFieldValidator></td>
            </tr>
            <tr style="color: #000000">
                <td style="width: 107px; text-align: left;">
                    再输入一次</td>
                <td style="width: 362px; text-align: left;"><asp:TextBox ID="txtPasswordAgain" runat="server" TextMode="Password" Width="141px"></asp:TextBox>
                    <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtPassword"
                        ControlToValidate="txtPasswordAgain" ErrorMessage="密码不一致" Display="Dynamic"></asp:CompareValidator>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtPasswordAgain"
                        ErrorMessage="*"></asp:RequiredFieldValidator></td>
                
            </tr>
            <tr>
            <td style="width: 107px; text-align: left">
                角色</td>
            <td style="width: 362px; text-align: left;">
                <asp:DropDownList ID="ddlRole" runat="server" >
                    <asp:ListItem>管理员</asp:ListItem>
后面还有 17 行代码,解锁后查看完整代码

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

AI 解读

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

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