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

📄 teacherlogin.aspx

📁 智能选课系统:本程序采用Microsoft Visual Studio 2005集成环境开发即 asp.net 2.0+access 数据库开发。 功能如下:学校中学生教师根据不同的权限合理分配,提
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TeacherLogin.aspx.cs" Inherits="Work_WorkLogin" %>

<!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 style="background-image: url(../image/BKGRD9.jpg)">
    <form id="form1" runat="server">
    <div>
        &nbsp;<table border="0" cellpadding="0" cellspacing="0" style="border-right: #66ccff 0.1mm solid;
            border-top: #66ccff 0.1mm solid; margin-top: 20px; margin-left: 300px; border-left: #66ccff 0.1mm solid;
            margin-right: 200px; border-bottom: #66ccff 0.1mm solid; width: 297px;">
            <tr>
                <td align="center" colspan="3" style="border-bottom: #66ccff 0.1mm solid; height: 18px">
                    教师登录</td>
            </tr>
            <tr>
                <td style="width: 81px; height: 26px">
                    姓名:</td>
                <td style="width: 153px; height: 26px">
                    <asp:TextBox ID="TextBox1" runat="server" MaxLength="20" Width="140px"></asp:TextBox></td>
                <td style="width: 81px; height: 26px">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
                        Display="Dynamic" ErrorMessage="姓名空"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td style="width: 81px; height: 19px">
                    密码:</td>
                <td style="width: 153px; height: 19px">
                    <asp:TextBox ID="TextBox2" runat="server" MaxLength="20" TextMode="Password"></asp:TextBox></td>
                <td style="width: 81px; height: 19px">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox2"
                        Display="Dynamic" ErrorMessage="密码空"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td style="width: 81px">
                    确认:</td>
                <td style="width: 153px">
                    <asp:TextBox ID="TextBox3" runat="server" MaxLength="20" TextMode="Password"></asp:TextBox></td>
                <td style="width: 81px">
                    <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="TextBox2"
                        ControlToValidate="TextBox3" Display="Dynamic" ErrorMessage="密码不一致"></asp:CompareValidator></td>
            </tr> <tr>
                <td style="width: 81px; height: 22px;">
                    系别:</td>
                <td style="width: 153px; height: 22px;">
                    <asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="AccessDataSource2"
                        DataTextField="Tclass" DataValueField="Tclass" Width="143px">
                    </asp:DropDownList>
                    &nbsp;
                </td>
                <td style="width: 81px; height: 22px;">
                    </td>
            </tr>
             
            <tr>
                <td align="center" colspan="3" style="height: 19px">
                    <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/image/bbblog_05_10.gif" OnClick="ImageButton1_Click" />&nbsp;<asp:ImageButton
                        ID="ImageButton2" runat="server" ImageUrl="~/image/bbblog_05_08.gif" OnClick="ImageButton2_Click" /><a href="TeacherReg.aspx ">注册</a></td>
            </tr>
        </table>
    
    </div>
        <asp:AccessDataSource ID="AccessDataSource2" runat="server" DataFile="~/database/xuanke.mdb"
            SelectCommand="SELECT [Tclass] FROM [Teacher]"></asp:AccessDataSource>
    </form>
</body>
</html>

⌨️ 快捷键说明

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