📄 teachershowduoxuan.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="teacherShowDuoXuan.aspx.cs" Inherits="teacherShowDuoXuan" %>
<!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/child.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h1 align="center">
<span style="color: #3366ff">
试题信息管理</span></h1>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<div>
<table id="mytable" cellspacing="0" width="800" style="border-color:#669999" border="1" align="center" cellpadding="0" >
<tr>
<td colSpan="3" style="height: 28px; text-align: left;"><span style="font-size: 10pt">负责的科目:</span>
<asp:Label id="lbl_courseName" runat="server"></asp:Label>
<span style="font-size: 10pt">该科目状态:</span>
<asp:CheckBox id="cbx_isTest" runat="server" Text="允许考试"></asp:CheckBox>
<asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/image/保存.gif" OnClick="ImageButton1_Click" />
<asp:ImageButton ID="ImageButton2" runat="server" ImageUrl="~/image/新增.gif"
OnClick="ImageButton2_Click" /></td>
</tr>
<tr>
<td style="HEIGHT: 28px" colspan="1"><FONT face="宋体"><FONT face="宋体"><span style="font-size: 10pt">输入查询条件:</span>
<asp:TextBox id="tbx_query1" runat="server" Width="96px"></asp:TextBox></FONT>
</FONT>
</td>
<td colspan="1" style="height: 28px">
<asp:RadioButton id="rbtn_showall" runat="server" Text="显示全部" GroupName="1" Checked="True"></asp:RadioButton><FONT face="宋体">
</FONT>
<asp:RadioButton id="rbtn_showpub" runat="server" Text="发布" GroupName="1"></asp:RadioButton><FONT face="宋体"></FONT>
<asp:RadioButton id="rbtn_shownopub" runat="server" Text="未发布" GroupName="1"></asp:RadioButton><FONT face="宋体">
</FONT></TD>
<td colspan="1" style="height: 28px">
<asp:ImageButton ID="ImageButton3" runat="server" AlternateText="查询" ImageUrl="~/image/so.gif"
OnClick="ImageButton3_Click" />
</td>
</tr>
<tr>
<td colspan="3" align="center"><FONT face="宋体"></FONT>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
CellPadding="4" ForeColor="#333333" GridLines="None" OnPageIndexChanging="GridView1_PageIndexChanging"
OnRowDeleting="GridView1_RowDeleting" Width="844px" DataKeyNames="testId" OnRowCommand="GridView1_RowCommand">
<FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
<Columns>
<asp:BoundField DataField="testId" HeaderText="ID" SortExpression="testId" Visible="False" >
<ItemStyle HorizontalAlign="Left" />
</asp:BoundField>
<asp:BoundField DataField="testContent" HeaderText="题干" SortExpression="testContent" >
<ItemStyle HorizontalAlign="Left" />
</asp:BoundField>
<asp:BoundField DataField="pub" HeaderText="发布" SortExpression="pub" >
<ItemStyle HorizontalAlign="Left" />
</asp:BoundField>
<asp:ButtonField HeaderText = "查看详细" ButtonType="Button" Text ="查看/修改" CommandName="Detail" >
<ItemStyle HorizontalAlign="Left" />
</asp:ButtonField>
<asp:TemplateField HeaderText="删除">
<ItemTemplate>
<asp:LinkButton ID="LinkButton2" runat="server" CausesValidation="False" CommandName="Delete"
Text="删除" OnClientClick="return confirm('您确定要删除吗?')" ></asp:LinkButton>
</ItemTemplate>
<ItemStyle HorizontalAlign="Left" />
</asp:TemplateField>
</Columns>
<RowStyle BackColor="#E3EAEB" />
<EditRowStyle BackColor="#7C6F57" />
<SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
<PagerStyle BackColor="#666666" ForeColor="Black" HorizontalAlign="Center" />
<HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="ImageButton3" EventName="Click" />
</Triggers>
</asp:UpdatePanel>
<asp:Label id="lbl_noResult" runat="server" ForeColor="Red" Visible="False">没有满足要求的记录</asp:Label></td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -