📄 addclass.aspx
字号:
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="AddClass.aspx.cs" Inherits="DeptAdmin_AddClass" Title="添加本系课程" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphMain" Runat="Server">
<div style="text-align: center">
<table style="width: 400px">
<caption style="background-color: steelblue; color: #ffffff;">
添加本系课程<span lang="EN-US" style="font-size: 12pt"><?xml
namespace="" ns="urn:schemas-microsoft-com:office:office" prefix="o" ?><?xml namespace=""
prefix="o" ?><o:p></o:p></span></caption>
<tr>
<td style="width: 100px" align="right" valign="top">
课程编号:</td>
<td style="width: 96px" align="left" valign="middle">
<asp:TextBox ID="txtClassID" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 100px" align="right" valign="top">
课程名称:</td>
<td style="width: 96px" align="left">
<asp:TextBox ID="txtClassName" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 100px" align="right" valign="top">
学分:</td>
<td style="width: 96px" align="left">
<asp:TextBox ID="txtClassCredit" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td align="right" style="width: 100px" valign="top">
教室:</td>
<td align="left" style="width: 96px">
<asp:TextBox ID="txtClassroom" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 100px" align="right" valign="top">
人数:</td>
<td style="width: 96px" align="left">
<asp:DropDownList ID="ddlClassP" runat="server">
<asp:ListItem>45</asp:ListItem>
<asp:ListItem>120</asp:ListItem>
</asp:DropDownList></td>
</tr>
<tr>
<td style="width: 100px; height: 24px;" align="right" valign="top">
课程类型:</td>
<td style="width: 96px; height: 24px;" align="left">
<asp:DropDownList ID="ddlClassKind" runat="server">
<asp:ListItem>必修</asp:ListItem>
<asp:ListItem>选修</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td style="width: 100px" align="right" valign="top">
开课时间:</td>
<td style="width: 96px" align="left">
<asp:TextBox ID="txtClassStrat" runat="server" Enabled="False"></asp:TextBox><asp:LinkButton
ID="LinkButton1" runat="server" Font-Size="9pt" OnClick="LinkButton1_Click">选择时间</asp:LinkButton>
<asp:Calendar ID="Calendar1" runat="server" OnSelectionChanged="Calendar1_SelectionChanged"
Visible="False"></asp:Calendar>
</td>
</tr>
<tr>
<td align="right" style="width: 100px" valign="top">
课时:</td>
<td align="left" style="width: 96px">
<asp:TextBox ID="txtClassLong" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 100px" align="right" valign="top">
课程备注:</td>
<td style="width: 96px" align="left">
<asp:TextBox ID="TextBox1" runat="server" BackColor="White" BorderColor="#C0C0FF"
BorderStyle="Double" EnableTheming="True" Height="71px" TextMode="MultiLine"
Width="221px"></asp:TextBox></td>
</tr>
<tr>
<td colspan="2" style="height: 20px; background-color: steelblue; color: #ffffff;">
编辑课表</td>
</tr>
<tr>
<td colspan="2">
<table>
<tr>
<td style="width: 237px; height: 38px">
</td>
<td style="width: 87px; height: 38px">
周一</td>
<td style="width: 100px; height: 38px">
周二</td>
<td style="width: 100px; height: 38px">
周三</td>
<td style="width: 100px; height: 38px">
周四</td>
<td style="width: 100px; height: 38px">
周五</td>
<td style="width: 100px; height: 38px">
周六</td>
<td style="width: 100px; height: 38px">
周日</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center" colspan="2" rowspan="1" style="height: 3px" valign="top">
<asp:CheckBoxList ID="CheckBoxList1" runat="server" RepeatColumns="7" RepeatDirection="Horizontal"
TextAlign="Left" Width="345px" Font-Size="Small">
</asp:CheckBoxList>
</td>
</tr>
<tr>
<td align="right" colspan="2" rowspan="1" style="height: 11px" valign="top">
<asp:Button ID="Button1" runat="server" Text="添加" OnClick="Button1_Click" /> <asp:Button ID="Button2"
runat="server" Text="重置" />
</td>
</tr>
</table>
</div>
</asp:Content>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -