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

📄 adminstudentadd.aspx

📁 学生网上选课系统,实现了学生的在线选课和教师课程的上传
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="adminStudentAdd.aspx.cs" Inherits="_Default" %>

<!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 bgcolor="#000000" border="0" cellspacing="1" width="760">
            <tr>
                <td bgcolor="#ffffff" rowspan="5" style="width: 61px">
                    学生<br />
                    资料 </td>
                <td bgcolor="#ffffff" style="width: 54px; height: 22px">
                    <asp:Label ID="Label1" runat="server" Text="学号:" Width="62px"></asp:Label></td>
                <td bgcolor="#ffffff" style="width: 160px; height: 22px">
                    <asp:TextBox ID="txtstuid" runat="server" CssClass="text" Width="90px"></asp:TextBox></td>
                <td bgcolor="#ffffff" style="width: 86px; height: 22px">
                    <asp:Label ID="Label2" runat="server" Text="学生姓名:"></asp:Label></td>
                <td bgcolor="#ffffff" style="width: 159px; height: 22px">
                    <asp:TextBox ID="txtstuname" runat="server" CssClass="text"></asp:TextBox></td>
            </tr>
            <tr>
                <td bgcolor="#ffffff" style="width: 54px; height: 22px">
                    <asp:Label ID="Label3" runat="server" Text="性别:"></asp:Label></td>
                <td bgcolor="#ffffff" style="width: 160px; height: 22px">
                    <asp:RadioButtonList ID="stusex" runat="server" RepeatDirection="Horizontal"
                        RepeatLayout="Flow" Width="74px">
                        <asp:ListItem Selected="True">男</asp:ListItem>
                        <asp:ListItem>女</asp:ListItem>
                    </asp:RadioButtonList></td>
                <td bgcolor="#ffffff" style="width: 106px; height: 22px">
                    <asp:Label ID="Label5" runat="server" Text="所在班级:"></asp:Label></td>
                <td bgcolor="#ffffff" style="width: 159px; height: 22px">
                    <asp:TextBox ID="txtstuclass" runat="server" CssClass="text"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td bgcolor="#ffffff" style="width: 54px; height: 22px">
                    <asp:Label ID="Label4" runat="server" Text="出生日期:" Width="87px"></asp:Label></td>
                <td bgcolor="#ffffff" style="width: 160px; height: 22px">
                    <asp:TextBox ID="txtBirthday" runat="server" CssClass="text" Width="142px"></asp:TextBox></td>
                <td bgcolor="#ffffff" style="width: 86px; height: 22px">
                    <asp:Label ID="Label6" runat="server" Text="联系电话:"></asp:Label></td>
                <td bgcolor="#ffffff" style="width: 159px; height: 22px">
                    <asp:TextBox ID="txtPhone" runat="server" CssClass="text"></asp:TextBox></td>
            </tr>
            <tr>
                <td bgcolor="#ffffff" style="width: 54px; height: 18px">
                    <asp:Label ID="Label7" runat="server" Text="密码:"></asp:Label></td>
                <td bgcolor="#ffffff" style="width: 160px; height: 18px">
                    <asp:TextBox ID="txtPwd" runat="server" CssClass="text" 
                        Width="142px"></asp:TextBox></td>
                <td bgcolor="#ffffff" style="width: 86px; height: 18px">
                    <asp:Label ID="Label9" runat="server" Text="年级:"></asp:Label></td>
                <td bgcolor="#ffffff" style="width: 159px; height: 18px">
                    <asp:DropDownList ID="ddrutime" runat="server" Width="59px">
                        <asp:ListItem>1999</asp:ListItem>
                        <asp:ListItem>2000</asp:ListItem>
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td bgcolor="#ffffff" style="width: 54px; height: 18px">
                    <asp:Label ID="Label8" runat="server" Text="所在院系:" Width="83px"></asp:Label></td>
                <td bgcolor="#ffffff" style="width: 160px; height: 18px">
                    <asp:DropDownList ID="ddldepart" runat="server" DataSourceID="SqlDataSource1"
                        DataTextField="departName" DataValueField="departID">
                    </asp:DropDownList>
                    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:pengpengConnectionString %>"
                        SelectCommand="SELECT [departID], [departName] FROM [Depart]"></asp:SqlDataSource>
                </td>
                <td bgcolor="#ffffff" style="width: 86px; height: 18px">
                    <asp:Label ID="Label10" runat="server" Text="民族:" Width="52px"></asp:Label></td>
                <td bgcolor="#ffffff" style="width: 159px; height: 18px">
                    <asp:TextBox ID="txtnation" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td bgcolor="#ffffff" style="width: 61px; height: 69px">
                    备注</td>
                <td bgcolor="#ffffff" colspan="4" style="height: 69px">
                    <span style="width: 3px; height: 21px">&nbsp;<asp:TextBox ID="txtbeizhu" runat="server"
                        CssClass="text" Height="102px" TextMode="MultiLine" Width="706px"></asp:TextBox></span></td>
            </tr>
            <tr>
                <td align="center" bgcolor="#ffffff" colspan="5">
                    <asp:Button ID="btnSave" runat="server" OnClick="btnSave_Click" Text="保存" />&nbsp;
                    <asp:Button ID="btnBack" runat="server" OnClick="btnBack_Click" Text="重置" />
                </td>
            </tr>
        </table>
    
    </div>
        <asp:Label ID="Label11" runat="server" Text="Label" Width="329px"></asp:Label>
    </form>
</body>
</html>

⌨️ 快捷键说明

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