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

📄 admin_class.aspx

📁 教务管理系统
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="admin_class.aspx.cs" Inherits="calss" %>

<!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 style="width: 800px; height: 313px" border="1">
            <tr>
                <td colspan="3" style="text-align: center">
                    <strong><span style="font-size: 24pt">系统管理——班级管理</span></strong></td>
            </tr>
            <tr>
                <td colspan="2" rowspan="1" style="text-align: center">
                    请输入班级名称或编号
                    <asp:TextBox ID="txtKeyword" runat="server" Width="187px"></asp:TextBox>&nbsp;<asp:DropDownList
                        ID="dropType" runat="server">
                        <asp:ListItem>班级编号</asp:ListItem>
                        <asp:ListItem>班级名称</asp:ListItem>
                    </asp:DropDownList>&nbsp;
                    <asp:Button ID="btnSearch" runat="server" Text="查 询" OnClick="btnSearch_Click" />&nbsp;<asp:Button
                        ID="btnQuit" runat="server" OnClick="btnQuit_Click" Text="退 出" /></td>
                <td style="width: 139px">
                    <strong><span style="font-size: 16pt">添加新班级</span></strong></td>
            </tr>
            <tr>
                <td rowspan="5" style="width: 65px">
                    <asp:LinkButton ID="lbtnStudent" runat="server" OnClick="lbtnStudent_Click">学生管理</asp:LinkButton><br />
                    <br />
                    <asp:LinkButton ID="lbtnTeacher" runat="server" OnClick="lbtnTeacher_Click">教师管理</asp:LinkButton><br />
                    <br />
                    <asp:LinkButton ID="lbtnCourse" runat="server" OnClick="lbtnCourse_Click">课程管理</asp:LinkButton><br />
                    <br />
                    <asp:LinkButton ID="lbtnClass" runat="server" OnClick="lbtnClass_Click">班级管理</asp:LinkButton><br />
                    <br />
                    <asp:LinkButton ID="lbtnSelect" runat="server" OnClick="lbtnSelect_Click">选课管理</asp:LinkButton><br />
                    <br />
                    <asp:LinkButton ID="lbtnResult" runat="server" OnClick="lbtnResult_Click">成绩管理</asp:LinkButton></td>
                <td rowspan="5" style="width: 233px" valign ="top" >
                    <asp:DataGrid ID="DataGrid1" runat="server" Width="561px" AllowPaging="True" AutoGenerateColumns="False" Height="182px" PageSize="5" DataKeyField="Cid" OnCancelCommand="DataGrid_cancel" OnDeleteCommand="DataGrid_delete" OnEditCommand="DataGrid_edit" OnPageIndexChanged="DataGrid_Page" OnUpdateCommand="DataGrid_update">
                        <PagerStyle Mode="NumericPages" />
                        <Columns>
                            <asp:EditCommandColumn CancelText="取消" EditText="编辑" UpdateText="更新"></asp:EditCommandColumn>
                            <asp:ButtonColumn CommandName="Delete" Text="删除"></asp:ButtonColumn>
                            <asp:BoundColumn DataField="Cid" HeaderText="班级编号"></asp:BoundColumn>
                            <asp:BoundColumn DataField="Cname" HeaderText="班级名称"></asp:BoundColumn>
                            <asp:BoundColumn DataField="Cdep" HeaderText="所属系部"></asp:BoundColumn>
                            <asp:BoundColumn DataField="Ccol" HeaderText="所属学院"></asp:BoundColumn>
                        </Columns>
                    </asp:DataGrid><br />
                    <asp:Label ID="lblMsg" runat="server" Width="238px"></asp:Label>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
                </td>
                <td style="width: 139px">
                    班级编号
                    <asp:TextBox ID="txtNo" runat="server" Width="127px"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 139px">
                    班级名称<asp:TextBox ID="txtClass" runat="server" Width="127px"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 139px">
                    所属学院
                    <asp:DropDownList ID="dropCol" runat="server" Width="132px">
                        <asp:ListItem>信息工程学院</asp:ListItem>
                        <asp:ListItem>管理学院</asp:ListItem>
                        <asp:ListItem>法学院</asp:ListItem>
                        <asp:ListItem>机械学院</asp:ListItem>
                        <asp:ListItem>软件学院</asp:ListItem>
                        <asp:ListItem>经贸学院</asp:ListItem>
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td style="width: 139px">
                    所属系部
                    <asp:TextBox ID="txtDep" runat="server" Width="127px"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 139px">
                    <asp:Button ID="btnOK" runat="server" Text="确 定" OnClick="btnOK_Click" />
                    &nbsp; &nbsp; &nbsp;
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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