📄 a_expbooking.aspx
字号:
<%@ Page Language="C#" MasterPageFile="~/Admin.master" AutoEventWireup="true" CodeFile="A_ExpBooking.aspx.cs" Inherits="A_ExpBooking" Title="开放式实验室预约系统-学生预约情况管理" %>
<%@ Register Assembly="devBiz.Web.UI" Namespace="devBiz.Web.UI.WebControls" TagPrefix="dbz" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<fieldset id="fsList" runat="server" style="text-align: left">
<legend runat="server" id="legendList">预约列表</legend>
<div align="left">
实验项目:<asp:Label ID="lblDetailName" runat="server" Text="Label"></asp:Label><br />
实验时间:<asp:Label ID="lblExpTime" runat="server" Text="Label"></asp:Label><br/>
实验地址:<asp:Label ID="lblExpAddress" runat="server" Text="Label"></asp:Label><br/>
实验指导老师:<asp:Label ID="lblTeacher" runat="server" Text="Label"></asp:Label>
</div>
<div align="left">
<asp:Button ID="btnNewStudent" runat="server" Text="新增" Width="100px" OnClick="btnNewBatch_Click"/></div>
<asp:GridView ID="StudentList" runat="server" OnPageIndexChanging="BatchList_PageIndexChanging" OnRowCommand="BatchList_RowCommand" OnRowCreated="BatchList_RowCreated" OnRowDataBound="BatchList_RowDataBound" OnSorting="BatchList_Sorting" AutoGenerateColumns="False" >
<Columns>
<asp:BoundField DataField="ID" HeaderText="ID">
<ItemStyle Width="20px" />
</asp:BoundField>
<asp:ButtonField ButtonType="Button" CommandName="GiveMark" HeaderText="评分" Text="评分" >
<ItemStyle Width="40px" />
</asp:ButtonField>
<asp:ButtonField HeaderText="删除" Text="删除" CommandName="BookingDel" ButtonType="Button" >
<ItemStyle Width="40px" />
</asp:ButtonField>
<asp:BoundField HeaderText="姓名" DataField="Name" />
<asp:BoundField HeaderText="班级" DataField="Class" />
<asp:BoundField HeaderText="性别" DataField="Sex" />
<asp:BoundField HeaderText="座号" DataField="No" />
<asp:BoundField HeaderText="学号" DataField="StudyID" />
<asp:BoundField DataField="Grade" HeaderText="等级" />
<asp:BoundField DataField="Mark" HeaderText="分数" DataFormatString="{0:###0.#}" />
</Columns>
</asp:GridView>
</fieldset>
<br />
<fieldset id="fsItem" runat="server" style="text-align: left">
<legend id="legendItem" runat="server">Edit</legend>
<br />
<table id="Table1" cellpadding="0" cellspacing="0" width="80%" border="0" runat="server">
<tr>
<td style="width: 145px; height: 24px">
班级</td>
<td style="width: 501px; height: 24px; text-align: left;">
<asp:DropDownList ID="ddlClasses" runat="server" Width="156px" AutoPostBack="True" OnSelectedIndexChanged="ddlClasses_SelectedIndexChanged">
</asp:DropDownList>
</td>
</tr>
<tr>
<td style="width: 145px; height: 25px">
学生</td>
<td style="width: 501px; height: 25px; text-align: left;">
<asp:DropDownList ID="ddlStudents" runat="server" Width="156px" AutoPostBack="True">
</asp:DropDownList>
</td>
</tr>
<tr>
<td style="width: 145px; height: 25px">
等级</td>
<td style="width: 501px; height: 25px; text-align: left;">
<asp:DropDownList ID="ddlGrade" runat="server">
<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: 145px; height: 25px">
分数</td>
<td style="width: 501px; height: 25px; text-align: left;">
<asp:TextBox ID="tbxMark" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td colspan="2" align="center" style="height: 24px; text-align: left">
<asp:Label ID="lbMsg" runat="server" ForeColor="Red" Text="Label"></asp:Label><br />
<asp:Button id="btn_Save" runat="server" Text=" 保存 " CssClass="button" ToolTip="保存当前用户的更改" Width="100px" OnClick="btn_Save_Click"></asp:Button>
<asp:TextBox ID="tbxKeyID" runat="server" Visible="false" Width="89px">-1</asp:TextBox></td>
</tr>
</table>
</fieldset>
</asp:Content>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -