📄 uquestion.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UQuestion.aspx.cs" Inherits="User_UQuestion" MasterPageFile="~/TQMS_Master.master"%>
<asp:Content ID="UQestion" ContentPlaceHolderID="main" runat ="server">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td height="5"></td></tr>
<tr><td>
<span style="font-size: 14pt"><strong>试题信息查询:
</strong><span style="font-size: 12pt">(</span><span style="font-size: 10pt; color: red">查询时请选择选择科目</span>
<span style="font-size: 12pt">)</span></span></td></tr>
<tr><td valign="bottom">
<hr size="3" />
</td></tr>
<tr style="font-size: 12pt">
<td colspan="2" height="25">
科目:<asp:DropDownList ID="ddlCourse" runat="server" Width="200px" AutoPostBack="True"
OnSelectedIndexChanged="ddlCourse_SelectedIndexChanged" AppendDataBoundItems="True">
</asp:DropDownList>
章目:<asp:DropDownList ID="ddlChapter" runat="server" Width="200px"
OnSelectedIndexChanged="ddlCourse_SelectedIndexChanged">
</asp:DropDownList> </td>
</tr>
<tr style="font-size: 12pt">
<td colspan="2" height="25">
题型:<asp:DropDownList ID="ddlType" runat="server" Width="200px" AppendDataBoundItems="True">
</asp:DropDownList>
<span>难度:</span><asp:DropDownList ID="ddlDifficult" runat="server" Width="200px">
</asp:DropDownList>
</td>
</tr>
<tr style="font-size: 12pt">
<td colspan="2" height="25">
<span>试题关键词:</span>
<asp:TextBox ID="tbxKey1" runat="server" Width="300px"></asp:TextBox> <span style="font-size: 10pt"> </span>
<asp:Button ID="btnSearch" runat="server" Text="查询"
Width="100px" OnClick="btnSearch_Click" /></td>
</tr>
<tr>
<td colspan="2" style="height: 7px">
<hr size="3" width="100%" />
</td>
</tr>
<tr>
<td colspan="3" style="height: 21px" align="left">
<asp:DataList ID="DataList1" runat="server" DataKeyField="TQ_QuestionID" Width="100%" OnItemDataBound="DataList1_ItemDataBound">
<ItemTemplate>
<table width="100%" id="questionTable" runat="server" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" width="80%" style="height: 57px">
<asp:Label ID="lblid" runat="server"></asp:Label><asp:Label ID="TQ_QuestionIDLabel" runat="server" Text='<%# Eval("TQ_QuestionID") %>'
Visible="False"></asp:Label><asp:Label ID="TQ_QuestionContentLabel" runat="server" Text='<%# TQMS.BusinessLogicHelper.HtmlCode.TextEncodeToHtml((Eval("TQ_QuestionContent").ToString())) %>'></asp:Label></td>
<td style="width: 5px; height: 57px;" valign="top">
<asp:HyperLink id=HyperLink1 Runat="server" NavigateUrl='<%# Eval("TQ_ImageUrl", "~/upload/{0}") %>'
Visible='<%# Eval("TQ_ImageUrl").ToString()=="default.jpg"?false:true %>' Target="_blank">
<asp:Image id=Image2 runat="server" ImageUrl='<%# "~/Handler.ashx?filename="+Server.UrlEncode( Eval("TQ_ImageUrl").ToString()) %>'
AlternateText='<%# "文件名称:" + Eval("TQ_ImageUrl", "~/upload/{0}") %>'>
</asp:Image>
</asp:HyperLink>
</td>
</tr>
<tr>
<td style="height: 20px;" width="80%">
<asp:Label ID="TQ_RightAnserLabel" runat="server" Text='<%# Eval("TQ_RightAnser", "答案:{0}") %>'></asp:Label></td>
<td style="height: 20px; width: 5px;">
</td>
</tr>
</table>
</ItemTemplate>
</asp:DataList></td>
</tr>
<tr>
<td colspan="2" style="height: 19px">
<asp:Label ID="lblEmptyMessge" runat="server"></asp:Label> </td>
</tr>
<tr>
<td colspan="2" style="height: 21px">
</td>
</tr>
<tr>
<td colspan="2" style="height: 19px">
</td>
</tr>
</table>
</asp:Content>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -