📄 showtest.aspx
字号:
<%@ Page language="c#" Codebehind="showTest.aspx.cs" AutoEventWireup="false" Inherits="TestOnline.showTest" smartNavigation="True"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>试题信息</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
</HEAD>
<body MS_POSITIONING="GridLayout" bgColor="#99ff99">
<h1 align="center">试题信息维护</h1>
<form id="Form1" method="post" runat="server">
<table borderColor="#0066cc" align="center" border="1" width="850">
<tr bgColor="#ccffff">
<td colSpan="1"><FONT face="宋体">
<DIV style="DISPLAY: inline; WIDTH: 96px; HEIGHT: 18px" ms_positioning="FlowLayout">请选择科目:</DIV>
</FONT>
</td>
<td colSpan="1"><FONT face="宋体"><asp:dropdownlist id="ddl_course" runat="server"></asp:dropdownlist></FONT></td>
<td colSpan="1"><asp:imagebutton id="Ibtn_ok" runat="server" ImageUrl="images\btn_sure_1.gif"></asp:imagebutton></td>
<td colSpan="1">
<DIV style="DISPLAY: inline; WIDTH: 70px; HEIGHT: 15px" ms_positioning="FlowLayout">科目ID:</DIV>
</td>
<td colSpan="1"><asp:label id="lbl_courseId" runat="server">未选择</asp:label></td>
</tr>
<tr>
<td style="WIDTH: 76px" colSpan="5"><asp:imagebutton id="IBtn_add" runat="server" ImageUrl="images\btn_new_a1.gif"></asp:imagebutton></td>
</tr>
<tr>
<td style="HEIGHT: 17px" colSpan="2"><FONT face="宋体"><FONT face="宋体">输入查询条件:
<asp:TextBox id="tbx_query1" runat="server" Width="96px"></asp:TextBox></FONT>
</FONT>
</td>
<TD colSpan="2">
<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></TD>
<td colspan="1">
<asp:ImageButton id="ImageButton1" runat="server" ImageUrl="images\btn_search_1.gif"></asp:ImageButton></td>
</tr>
<TR>
<td colSpan="5" align="center"><FONT face="宋体"><asp:datagrid id="DataGrid1" runat="server" AllowPaging="True" AutoGenerateColumns="False" Font-Size="14px"
CellPadding="4" BackColor="Transparent" BorderWidth="1px" BorderColor="#FFCC66" Height="330px" Width="809px" BorderStyle="None" PageSize="15">
<FooterStyle ForeColor="#330099" BackColor="#FFFFCC"></FooterStyle>
<SelectedItemStyle Font-Bold="True" ForeColor="#663399" BackColor="#FFCC66"></SelectedItemStyle>
<ItemStyle ForeColor="#330099" BackColor="White"></ItemStyle>
<HeaderStyle Font-Size="16px" Font-Bold="True" ForeColor="#FFFFCC" BackColor="#990000"></HeaderStyle>
<Columns>
<asp:BoundColumn DataField="testContent" ReadOnly="True" HeaderText="题干"></asp:BoundColumn>
<asp:BoundColumn Visible="False" DataField="testId" HeaderText="ID"></asp:BoundColumn>
<asp:BoundColumn DataField="pub" HeaderText="发布"></asp:BoundColumn>
<asp:HyperLinkColumn Text="查看" DataNavigateUrlField="testId" DataNavigateUrlFormatString="testUpdate.aspx?testId={0}"
HeaderText="查看/修改" NavigateUrl="testUpdate.aspx"></asp:HyperLinkColumn>
<asp:TemplateColumn HeaderText="删除">
<ItemTemplate>
<FONT face="宋体">
<asp:LinkButton id="btn_del" runat="server" CommandName="Delete" ForeColor="#ff3300">删除</asp:LinkButton></FONT>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
<PagerStyle NextPageText="上一页" PrevPageText="上一页" HorizontalAlign="Center" ForeColor="#330099"
BackColor="#FFFFCC" Mode="NumericPages"></PagerStyle>
</asp:datagrid></FONT><asp:Label id="lbl_noResult" runat="server" ForeColor="Red" Visible="False">没有满足要求的记录</asp:Label></td>
</TD>
</TR>
<tr>
<td bgColor="#ffccff" colSpan="5"><FONT face="宋体">共有
<asp:label id="lbl_count" runat="server" ForeColor="Red"></asp:label>条记录</FONT>
</td>
</tr>
</table>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -