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

📄 questionedit.aspx

📁 一个多用户在线题库管理系统,可以实现各类试题的添加和管理
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="QuestionEdit.aspx.cs" Inherits="QuestionEdit"  MasterPageFile="~/TQMS_Master.master"%>
<asp:Content ContentPlaceHolderID="main" ID="quetionEdit" runat="server">
    <table id="TABLE1" runat="server" align="center" border="0" cellpadding="0" cellspacing="0"
        width="700">
        <tr>
            <td colspan="2" style="height: 26px">
                试题管理--修改试题</td>
        </tr>
        <tr>
            <td colspan="2" style="height: 26px">
                <span style="font-size: 10pt"><span style="color: red">注意</span>:请认真填写下列信息,其中备选答案最多100字符,完成后按确定按钮进行提交!!!</span></td>
        </tr>
        <tr><td colspan ="2">编号:<asp:Label ID="lblQuestionID" runat="server" Text="Label"></asp:Label></td></tr>
        <tr>
            <td style="width: 13%; height: 25px">
                科目:</td>
            <td style="width: 80%; height: 25px">
                <asp:DropDownList ID="ddlCourse" runat="server" AutoPostBack="True" 
                    Width="200px">
                </asp:DropDownList>
                <asp:CustomValidator ID="vudCourse" runat="server" ControlToValidate="ddlCourse"
                    Display="Dynamic" ErrorMessage="请选择科目" ></asp:CustomValidator>章:<asp:DropDownList
                        ID="ddlChapter" runat="server" Width="200px">
                    </asp:DropDownList><span style="font-size: 10pt"> &nbsp; </span>
                <asp:HyperLink ID="hlkAddChapter" runat="server" NavigateUrl="~/Manager/MChapterAndSection.aspx"
                    Visible="False">添加章目</asp:HyperLink></td>
        </tr>
        <tr style="color: #000000; text-decoration: underline">
            <td style="width: 13%; height: 25px">
                题型:</td>
            <td style="width: 80%; height: 25px">
                <asp:DropDownList ID="ddlType" runat="server" Width="100px">
                    <asp:ListItem Selected="True">选择题</asp:ListItem>
                    <asp:ListItem>填空题</asp:ListItem>
                    <asp:ListItem>是非题</asp:ListItem>
                    <asp:ListItem>名词解释题</asp:ListItem>
                    <asp:ListItem>简答题</asp:ListItem>
                    <asp:ListItem>计算题</asp:ListItem>
                    <asp:ListItem>论述题</asp:ListItem>
                    <asp:ListItem>作文题</asp:ListItem>
                </asp:DropDownList>&nbsp; 难度:<asp:DropDownList ID="ddlDifficult" runat="server" Width="100px">
                    <asp:ListItem Selected="True">简单</asp:ListItem>
                    <asp:ListItem>中等</asp:ListItem>
                    <asp:ListItem>难</asp:ListItem>
                    <asp:ListItem>较难</asp:ListItem>
                </asp:DropDownList></td>
        </tr>
        <tr>
            <td style="width: 13%; height: 25px">
                题目内容:</td>
            <td style="width: 80%; height: 25px">
                &nbsp;&nbsp;
                <asp:TextBox ID="tbxContent" runat="server" Height="80px" TextMode="MultiLine" Width="332px"></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">
                &nbsp;&nbsp;
                <asp:TextBox ID="tbxRightAnser" runat="server" Height="55px" TextMode="MultiLine"
                    Width="315px"></asp:TextBox>
                <br />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="tbxRightAnser"
                    ErrorMessage="答案不能为空"></asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td style="width: 13%; height: 26px">
                图片:</td>
            <td style="width: 80%; height: 26px">
                <asp:FileUpload ID="FileUpload1" runat="server" /><span style="font-size: 10pt">(不大于100K)</span>&nbsp;
            </td>
        </tr>
        <tr>
            <td align="center" colspan="2" height="25">
                <asp:Button ID="btnOk" runat="server" Text="修改" Width="80px" />
                <asp:LinkButton ID="hlkBack" runat="server" PostBackUrl="~/Manager/MAddQuestion.aspx">返回</asp:LinkButton><br />
                <br />
                <asp:Label ID="lblMessege" runat="server" Text="Label"></asp:Label></td>
        </tr>
    </table>
</asp:Content>

⌨️ 快捷键说明

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