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

📄 jianda.aspx

📁 本在线考试系统采用了面向对象的分析和设计
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="JianDa.aspx.cs" Inherits="Admin_JianDa" EnableViewState="false" %>


<!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="../Style/QuestionForm.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
<div>
        <asp:MultiView ID="MultiView1" runat="server">
            <asp:View ID="AddView" runat="server">
                      <br />
               <br />
                <table class="Question">
               <tr><th colspan="2">
                   添加简答题</th></tr> 
                    <tr>
                        <td style="width: 81px">科目:</td>
                        <td>    <asp:Label ID="AddSubjectLabel" runat="server"></asp:Label></td>
                    </tr>
                    <tr>
                        <td style="width: 81px">章节:</td>
                        <td>  <asp:Label ID="AddChapterLabel" runat="server"></asp:Label></td>
                    </tr>
                    <tr>
                        <td style="width: 81px">难度: </td>
                        <td> <asp:Label ID="AddHardLabel" runat="server"></asp:Label></td>
                    </tr>
                    <tr>
                    <td style="width: 81px">内容:<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="AddContentTextBox"
                            ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator></td>
                    <td><asp:TextBox ID="AddContentTextBox" runat="server" Height="100px" TextMode="MultiLine" Width="350px"></asp:TextBox></td>
                    </tr>
                    <tr>
                    <td style="width: 81px">
                        答案:<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="AddAnswerTextBox"
                            ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator></td>
                    <td>
                <asp:TextBox ID="AddAnswerTextBox" runat="server" Height="100px" TextMode="MultiLine"
                    Width="350px"></asp:TextBox></td>
                    </tr>
                  <tr>
                    <td style="width: 81px">              
                <asp:Button ID="AddAddQuestionButton" runat="server" OnClick="AddAddQuestionButton_Click"
                    Text="添加试题" /></td>
                    <td>
                <asp:Label ID="AddMessageLabel" runat="server" CssClass="Message"></asp:Label></td>
                    </tr>
                </table>

           </asp:View>
            <asp:View ID="UpdateView" runat="server">
                                  <br />
               <br />
                <table class="Question">
               <tr><th colspan="2">
                   更新简答题</th></tr> 
                    <tr>
                        <td>难度: </td>
                        <td> <asp:DropDownList ID="UpdateHardDropDownList" runat="server">
                    <asp:ListItem>1</asp:ListItem>
                    <asp:ListItem>2</asp:ListItem>
                    <asp:ListItem>3</asp:ListItem>
                </asp:DropDownList></td>
                    </tr>
                    <tr>
                    <td>内容:<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="UpdateContentTextBox"
                            ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator></td>
                    <td><asp:TextBox ID="UpdateContentTextBox" runat="server" Height="100px" TextMode="MultiLine" Width="350px"></asp:TextBox></td>
                    </tr>
               
                     <tr>  
                     <td>
                         答案:<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="UpdateAnswerTextBox"
                             ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator></td>
                    <td> <asp:TextBox ID="UpdateAnswerTextBox" runat="server" Height="100px" TextMode="MultiLine"
                    Width="350px"></asp:TextBox></td>
                    </tr>
                  <tr>
                    <td><asp:Button ID="UpdateUpdateButton" runat="server" Text="更新试题" OnClick="UpdateUpdateButton_Click" /></td>
                    <td>
                <asp:Label ID="UpdateMessageLabel" runat="server" CssClass="Message" ></asp:Label></td>
                    </tr>
                </table>
  
            </asp:View>
            <asp:View ID="DeleteView" runat="server">
                <br />
                <br />
                <br />
                <asp:Label ID="DeleteMessageLabel" runat="server" CssClass="Message"></asp:Label>
            </asp:View>
            <asp:View ID="ViewView" runat="server">
                           <table class="Question">
                    <tr>
                        <th>
                            预览简答题</th>
                    </tr>
                    <tr>
                        <td>
                            <asp:Literal ID="ViewContentLiteral" runat="server"></asp:Literal></td>
                    </tr>
                </table> 
                </asp:View>
        </asp:MultiView></div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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