addstu.aspx

来自「本系统内置的测评模块可以根据学生的学习成绩以及往日的综合表现对学生的综合素质分进」· ASPX 代码 · 共 99 行

ASPX
99
字号
<%@ Page AutoEventWireup="false" Inherits="px.addstu" %>

<!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>add student</title>
    <link href="../App_Themes/default/admincp.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div><br />
               <table border="0" cellpadding="0" cellspacing="0" class="guide" width="100%">
            <tbody>
                <tr>
                    <td style="height: 28px">
                        <a href="#">系统首页</a> &gt;&gt; 学生信息添加</td>
                </tr>
            </tbody>
        </table><br />
        <table width="100%" cellpadding="0" cellspacing="0" border="0" class="tableborder">
        <tr class="header"><td colspan="2">
            添加学生信息</td></tr>
            <tr>
                <td style="width: 142px; height: 2em; text-align: right">
                    <strong><span style="color: #3399cc">学生学号:</span></strong></td>
                <td style="height: 2em">
                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
                        ErrorMessage="*"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td style="width: 142px; height: 2em; text-align: right">
                    <strong><span style="color: #3399cc">学生姓名:</span></strong></td>
                <td style="height: 2em">
                    <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox2"
                        ErrorMessage="*"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td style="width: 142px; height: 2em; text-align: right">
                    <strong><span style="color: #3399cc">学生查询密码:</span></strong></td>
                <td style="height: 2em">
                    <asp:TextBox ID="TextBox3" runat="server" TextMode="Password"></asp:TextBox>
                    (不输入密码则默认密码为1)</td>
            </tr>
            <tr>
                <td style="width: 142px; height: 2em; text-align: right">
                    <strong><span style="color: #3399cc">重复查询密码:</span></strong></td>
                <td style="height: 2em">
                    <asp:TextBox ID="TextBox5" runat="server" TextMode="Password"></asp:TextBox>&nbsp;
                    <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="TextBox3"
                        ControlToValidate="TextBox5" ErrorMessage="两次密码不一致"></asp:CompareValidator></td>
            </tr>
            <tr>
                <td style="width: 142px; height: 2em; text-align: right">
                    <strong><span style="color: #3399cc">学生性别:</span></strong></td>
                <td style="height: 2em">
                    <asp:DropDownList ID="DropDownList1" runat="server">
                        <asp:ListItem Value="True">男</asp:ListItem>
                        <asp:ListItem Value="False">女</asp:ListItem>
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td style="width: 142px; height: 2em; text-align: right">
                    <strong><span style="color: #3399cc">学生院系:</span></strong></td>
                <td style="height: 2em">
                    <asp:DropDownList ID="DropDownList2" runat="server" AutoPostBack="True">
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td style="width: 142px; height: 2em; text-align: right">
                    <strong><span style="color: #3399cc">学生班级:</span></strong></td>
                <td style="height: 2em">
                    <asp:DropDownList ID="DropDownList4" runat="server" AutoPostBack="True">
                    </asp:DropDownList>
                    <asp:DropDownList ID="DropDownList3" runat="server">
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td style="width: 142px; height: 2em; text-align: right">
                    <strong><span style="color: #3399cc">学生专业:</span></strong></td>
                <td style="height: 2em">
                    <asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="TextBox4"
                        ErrorMessage="*"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td style="width: 142px; height: 2em; text-align: right">
                </td>
                <td style="height: 2em">
                    <asp:Button ID="Button1" runat="server" Text="提交" /></td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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