⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 editquestion.ascx

📁 一个多用户在线题库管理系统,可以实现各类试题的添加和管理
💻 ASCX
字号:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="EditQuestion.ascx.cs" Inherits="modules_EditQuestion" %>
<table id="TABLE1" runat="server" align="center" border="0" cellpadding="0" cellspacing="0"
    width="700" class="table">
    <tr>
        <td colspan="2" style="height: 26px" class="tdHead">
            试题管理--试题的修改与添加</td>
    </tr>
    <tr>
        <td colspan="2" style="height: 30px">
            <span style="font-size: 10pt"><span style="color: red">
                <asp:Label ID="lblquestionID" runat="server" Font-Size="10pt" Text="Label"></asp:Label>
            </span></span>
        </td>
    </tr>
    <tr>
        <td style="width: 13%; height: 25px" bgcolor="#ccccff">
            科目:</td>
        <td style="width: 80%; height: 25px" bgcolor="#ccccff">
            <asp:DropDownList ID="ddlCourse" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlCourse_SelectedIndexChanged"
                Width="200px">
            </asp:DropDownList>
            章节:<asp:DropDownList
                    ID="ddlChapter" runat="server" Width="200px">
                </asp:DropDownList>
            &nbsp;
            <asp:HyperLink ID="hlkAddChapter" runat="server" NavigateUrl="~/MChapterAndSection.aspx"
                Visible="False">添加章目</asp:HyperLink></td>
    </tr>
    <tr style="font-size: 12pt; color: #000000">
        <td style="width: 13%; height: 25px">
            <span>题型:</span></td>
        <td style="font-size: 12pt; width: 80%; height: 25px">
            <asp:DropDownList ID="ddlType" runat="server" Width="200px">
            </asp:DropDownList>
            难度:<asp:DropDownList ID="ddlDifficult" runat="server" Width="200px">
            </asp:DropDownList></td>
    </tr>
    <tr style="font-size: 12pt">
        <td style="width: 13%; height: 25px" class="tdAlter">
            题目内容:</td>
        <td style="width: 80%; height: 25px" class="tdAlter">
            <asp:TextBox ID="tbxContent" runat="server" Columns="10" Height="80px" TextMode="MultiLine"
                Width="460px"></asp:TextBox>&nbsp;<br />
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="tbxContent"
                Display="Dynamic" ErrorMessage="题干必须填写">*</asp:RequiredFieldValidator><span style="font-size: 10pt">(最多400个字符)</span></td>
    </tr>
    <tr>
        <td style="width: 13%; height: 23px">
            正确答案:</td>
        <td style="width: 80%; height: 23px">
            <asp:TextBox ID="tbxRightAnser" runat="server" Height="55px" TextMode="MultiLine"
                Width="460px"></asp:TextBox>
            <br />
            </td>
    </tr>
    <tr>
        <td style="width: 13%; height: 26px" class="tdAlter">
            图片:</td>
        <td style="width: 80%; height: 26px" class="tdAlter">
            &nbsp;<asp:Image ID="questionImg" runat="server" Height="100px" Width="150px" /><br />
            <asp:FileUpload ID="uploadPictureFile" runat="server" Width="400px" />
            <span style="font-size: 10pt">(不大于100K)</span>&nbsp;
        </td>
    </tr>
    <tr>
        <td align="center" colspan="2" height="25">
            <asp:Button ID="btnOk" runat="server" OnClick="btnOk_Click" Text="确定" Width="80px" />
            <asp:LinkButton ID="hlkBack" runat="server" CausesValidation="False" PostBackUrl="~/Question.aspx">返回</asp:LinkButton><br />
            <br />
            <asp:Label ID="lblMessege" runat="server" Text="Label"></asp:Label></td>
    </tr>
</table>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -