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

📄 studentreg.aspx

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

<!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); background-repeat: repeat">
    <form id="form1" runat="server">
    <div >
        <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: 383px;">
            <tr>
                <td colspan="3" style="height: 18px; border-bottom: #66ccff 0.1mm solid;" align="center">
                    学生注册页面</td>
            </tr>
            <tr>
                <td style="width: 88px; height: 26px;" align="center">
                    姓名:</td>
                <td style="width: 153px; height: 26px;">
                    <asp:TextBox ID="TextBox1" runat="server" Width="139px"></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: 88px; height: 19px;" align="center">
                    密码:</td>
                <td style="width: 153px; height: 19px;">
                    <asp:TextBox ID="TextBox2" runat="server" 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: 88px" align="center">
                    确认:</td>
                <td style="width: 153px">
                    <asp:TextBox ID="TextBox3" runat="server" 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: 88px; height: 19px;" align="center">
                    专业:</td>
                <td style="width: 153px; height: 19px;">
                    <asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="AccessDataSource1"
                        Width="147px" DataTextField="zhuanyename" DataValueField="zhuanyename">
                    </asp:DropDownList>&nbsp;
                </td>
                <td style="width: 81px; height: 19px;">
                </td>
            </tr>
            <tr>
                <td style="height: 19px;" align="center" colspan="3">
                    <asp:LinkButton ID="LinkButton1" runat="server" BackColor="DeepSkyBlue" ForeColor="Black"
                        Width="63px" OnClick="LinkButton1_Click">注册</asp:LinkButton>&nbsp;<asp:AccessDataSource
                            ID="AccessDataSource1" runat="server" DataFile="~/database/xuanke.mdb" SelectCommand="SELECT * FROM [zhuanye]">
                        </asp:AccessDataSource>
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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