exam/Manage4.aspx
(完整代码) 2KB<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Manage4.aspx.cs" Inherits="exam_Manage4" Title="" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<td>
<table style="width: 100%;" cellpadding="2" cellspacing="1" class="border">
<tr>
<td align="center" class="tdbg">
<strong> 考试课程:</strong><asp:DropDownList ID="ddlid" runat="server" Width="200">
</asp:DropDownList>
<strong> 考试班级</strong><asp:DropDownList ID="ddlcid" runat="server" Width="200">
</asp:DropDownList>
<asp:Button ID="btnSearch" runat="server" Text="查询" OnClick="btnSearch_Click" ></asp:Button>
</td>
</tr>
</table>
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
DataKeyNames="eid" Width="100%" AllowPaging="True" GridLines="None"
onpageindexchanging="GridView1_PageIndexChanging"
EnableModelValidation="True" >
<RowStyle Height="25px" HorizontalAlign="Center" />
<Columns>
<asp:BoundField HeaderText="考试课程" DataField="name1" />
<asp:BoundField HeaderText="考试班级" DataField="cname" />
<asp:BoundField HeaderText="参考人数" DataField="people" />
<asp:BoundField HeaderText="考试时间" DataField="etime" />
<asp:BoundField HeaderText="考试方式" DataField="type1" />
<asp:BoundField HeaderText="考试教室" DataField="rname" />
<asp:BoundField HeaderText="主监考" DataField="tname1" />
<asp:BoundField HeaderText="副监考" DataField="tname2" />
</Columns>
<HeaderStyle Height="27px" />
<PagerStyle HorizontalAlign="Center" />
</asp:GridView>
<% if (Session["power"].ToString() == "管理员")
{ %>
<table border="0" cellpadding="0" cellspacing="1" style="width: 100%;">
<tr>
<td align="center">
<input id="Button1" type="button" value="打印报表" onclick="window.print();" />
</td>
</tr>
</table>
<%} %>
</td>
</asp:Content>
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
