📄 examarry_que_del.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="examArry_que_del.aspx.cs" Inherits="examArry_que_del" %>
<!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>
<link href="~/css/mm.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<div>
<div>
<table style="width: 732px; height: 206px">
<tr>
<td style="width: 74px; height: 24px">
考试类型</td>
<td style="width: 532px; height: 24px">
<asp:DropDownList ID="DListType" runat="server" Width="253px">
<asp:ListItem>----请选择----</asp:ListItem>
<asp:ListItem>普通考试</asp:ListItem>
<asp:ListItem>期末考试</asp:ListItem>
<asp:ListItem>期中考试</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td style="width: 74px; height: 24px">
考试班级</td>
<td style="width: 532px; height: 24px">
<asp:DropDownList ID="DListClass" runat="server" Width="254px" DataSourceID="SqlDataSource1" DataTextField="class_name" DataValueField="class_ID">
<asp:ListItem>----请选择----</asp:ListItem>
</asp:DropDownList>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:XTeamConnectionString %>"
SelectCommand="SELECT [class_ID], [class_name] FROM [class]"></asp:SqlDataSource>
</td>
</tr>
<tr>
<td style="width: 74px; height: 24px">
考试科目</td>
<td style="width: 532px; height: 24px">
<asp:DropDownList ID="DListCourse" runat="server" Width="254px" DataSourceID="SqlDataSource2" DataTextField="course_name" DataValueField="course_ID">
<asp:ListItem>----请选择----</asp:ListItem>
</asp:DropDownList>
<asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:XTeamConnectionString %>"
SelectCommand="SELECT [course_ID], [course_name] FROM [course]"></asp:SqlDataSource>
</td>
</tr>
<tr>
<td style="width: 74px; height: 24px">
使用教室</td>
<td style="width: 532px; height: 24px">
<asp:DropDownList ID="DListClassroom" runat="server" Width="254px" DataSourceID="SqlDataSource3" DataTextField="classroom_num" DataValueField="classroom_ID">
<asp:ListItem>----请选择----</asp:ListItem>
</asp:DropDownList>
<asp:SqlDataSource ID="SqlDataSource3" runat="server" ConnectionString="<%$ ConnectionStrings:XTeamConnectionString %>"
SelectCommand="SELECT [classroom_ID], [classroom_num] FROM [classroom]"></asp:SqlDataSource>
</td>
</tr>
<tr>
<td style="width: 74px; height: 9px">
</td>
<td style="width: 532px; height: 9px">
<asp:Button ID="BtnQue" runat="server" OnClick="BtnQue_Click" Text="查询" /></td>
</tr>
<tr>
<td colspan="2" style="height: 9px">
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="exam_ID"
Height="155px" OnRowDataBound="GridView1_RowDataBound" OnSelectedIndexChanged="GridView1_SelectedIndexChanged"
Width="719px">
<Columns>
<asp:BoundField DataField="exam_ID" HeaderText="考试编号" ReadOnly="True" Visible="False" />
<asp:BoundField DataField="exam_type" HeaderText="考试类型" ReadOnly="True" />
<asp:BoundField DataField="excourse_name" HeaderText="考试科目" ReadOnly="True" />
<asp:BoundField DataField="exclass_name" HeaderText="考试班级" ReadOnly="True" />
<asp:BoundField DataField="exclassroom_ID" HeaderText="考试地点" />
<asp:BoundField DataField="exam_time" HeaderText="考试时间" />
<asp:BoundField DataField="teacherID1" HeaderText="主考" />
<asp:BoundField DataField="teacher_ID2" HeaderText="副考" />
<asp:BoundField DataField="exam_stunum" HeaderText="考试人数" />
<asp:CommandField ShowDeleteButton="True" />
</Columns>
</asp:GridView>
</td>
</tr>
</table>
</div>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -