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

📄 admin_papersetup.aspx

📁 在线考试系统完整版源码(C#&Access) 该考试系统为一同学毕业设计
💻 ASPX
📖 第 1 页 / 共 2 页
字号:
<%@ Page Language="C#" MasterPageFile="~/Admin/Admin.master"  AutoEventWireup="true" CodeFile="admin_PaperSetup.aspx.cs" Inherits="Admin_admin_PaperSetup" %>

<asp:Content ContentPlaceHolderID="ContentPlaceHolder1" ID="CPholder" runat="server">
    <div>                                        
    <table cellSpacing="0" style="FONT-SIZE: 12px; FONT-FAMILY: Tahoma; BORDER-COLLAPSE: collapse; " cellPadding="0" width=550 align="center"
				bgColor="#ffffff" border="1" bordercolor=gray>
				<tr height=40>
                    <td align="center" colspan="1" style="height: 32px">
                    </td>
					<td colSpan="4" align=center style="height: 32px">						<font color=#4D2600><b>试卷制定</b></font>				
					</td>
				</tr>
				<tr height=30>
                    <td nowrap="nowrap" style="height: 30px">
                    </td>
					<TD nowrap style="height: 30px">考试科目:</TD>
					<TD style="height: 30px; width: 277px;"><asp:dropdownlist id="ddlCourse" runat="server" Font-Size="9pt" Width="120px" DataSourceID="ObjectDataSource1" DataTextField="CName" DataValueField="CID" Height="22px"></asp:dropdownlist><asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetAllCourse"
                        TypeName="ExamBLL.Auto_Generated_Code.CourseManager"></asp:ObjectDataSource>
                    </TD>
					<td nowrap style="height: 30px">试卷名称:</td>
					<td style="height: 30px; width: 164px;">
                        &nbsp;<asp:TextBox ID="txtPaperName" runat="server" Width="120px"  AutoPostBack="True"></asp:TextBox>
                        </td>
				</tr>
				<tr height=30>
                    <td colspan="1" style="height: 30px">
                    </td>
				    <td colspan=4 style="height: 30px"><font color=#4D2600><b>单选题:</b></font></td>
				</tr>
				<tr height=30>					
                    <td>
                    </td>
					<TD>题目数目:</TD>
					<td style="width: 277px"><asp:TextBox ID="txtSingleNum" runat="server" Width="120px" Height="22px"></asp:TextBox></td>
					<TD>每题分值:</TD>
					<td style="width: 164px">
                        <asp:TextBox ID="txtSingleFen" runat="server" Width="120px" Height="22px"></asp:TextBox></td>
				</tr>
				<tr height=30>
                    <td colspan="1" style="height: 30px">
                    </td>
				    <td colspan=4 style="height: 30px"><font color=#4D2600><b>多选题:</b></font></td>
				</tr>
				<tr height=30>					
                    <td>
                    </td>
					<TD>题目数目:</TD>
					<td style="width: 277px"><asp:TextBox ID="txtMultiNum" runat="server" Width="120px" Height="22px"></asp:TextBox></td>
					<TD>每题分值:</TD>
					<td style="width: 164px">
                        <asp:TextBox ID="txtMultiFen" runat="server" Width="120px" Height="22px"></asp:TextBox></td>
				</tr>
				<tr height=30>
                    <td colspan="1">
                    </td>
				    <td colspan=4><font color=#4D2600><b>判断题:</b></font></td>
				</tr>
				<tr height=30>					
                    <td style="height: 30px">
                    </td>
					<TD style="height: 30px">题目数目:</TD>
					<td style="height: 30px; width: 277px;"><asp:TextBox ID="txtJudgeNum" runat="server" Width="120px" Height="22px"></asp:TextBox></td>
					<TD style="height: 30px">每题分值:</TD>
					<td style="height: 30px; width: 164px;">
                        <asp:TextBox ID="txtJudgeFen" runat="server" Width="120px" Height="22px"></asp:TextBox></td>
				</tr>
				<tr height=30>
                    <td colspan="1">
                    </td>
				    <td colspan=4><font color=#4D2600><b>填空题:</b></font></td>
				</tr>
				<tr height=30 style="color: #000000">					
                    <td>
                    </td>
					<TD>题目数目:</TD>
					<td style="width: 277px"><asp:TextBox ID="txtFillNum" runat="server" Width="120px" Height="22px"></asp:TextBox></td>
					<TD>每题分值:</TD>
					<td style="width: 164px">
                        <asp:TextBox ID="txtFillFen" runat="server" Width="120px" Height="22px"></asp:TextBox></td>
				</tr>					
        <tr height="40" style="color: #000000">
            <td align="center" colspan="1" style="text-align: left">
            </td>
            <td align="center" colspan="4" style="text-align: left">
                简答题:</td>
        </tr>
        <tr height="40" style="color: #000000">
            <td align="center" colspan="1">
            </td>
            <td align="center" colspan="1" style="text-align: left">
                题目数目:</td>
            <td align="center" colspan="1" style="text-align: left; width: 277px;">
                <asp:TextBox ID="TextBox2" runat="server" Height="22px" Width="120px"></asp:TextBox></td>
            <td align="center" colspan="1" style="text-align: left">
                每题的值:</td>
            <td align="center" colspan="4" style="width: 144px; text-align: left">
                <asp:TextBox ID="TextBox3" runat="server" Height="22px" 
                    Width="120px"></asp:TextBox></td>
        </tr>
        <tr height="40" style="color: #000000">
            <td align="center" colspan="1" style="height: 51px">
            </td>
            <td align="center" colspan="4" style="text-align: left; height: 51px;">
                限制时间:</td>
        </tr>
        <tr height="40" style="color: #000000">
            <td align="center" colspan="1">
            </td>
            <td align="center" colspan="1" style="text-align: left">
                时间:</td>
            <td align="center" colspan="4">
                <asp:TextBox ID="txtLimitTime" runat="server"></asp:TextBox>分钟</td>
        </tr>
				<tr height=40 style="color: #000000">
                    <td align="center" colspan="1">
                    </td>
				    <td colspan=4 align=center>
                        <asp:Button ID="Button1" runat="server" Height="24px" OnClick="Button1_Click" Text="确 定"
                            Width="69px" /></td>
				</tr>
				<tr style="color: #000000">
                    <td colspan="1">
                    </td>
				    <td colspan=4>
                        <asp:Panel ID="Panel1" runat="server" Width=100% Visible="False">
                            <table cellSpacing="0" style="FONT-SIZE: 12px; FONT-FAMILY: Tahoma; BORDER-COLLAPSE: collapse; " cellPadding="0" width=100%	bgColor="#ffffff" border="1" bordercolor=gray>
                                <tr>
                                    <td style="width: 640px">
                                        <br />
                                        <span style="font-size: 12pt">一、单选题</span></td>
                                </tr>
                                <tr>
                                    <td style="width: 640px; height: 91px">
                                        <asp:GridView ID="gvSingle" runat="server" AutoGenerateColumns="False" DataSourceID="ObjectDataSingle"
                                            Width="622px">
                                            <Columns>
                                                <asp:TemplateField>
                                                    <ItemTemplate>
                                                        <table style="width: 594px; height: 51px">
                                                            <tr>
                                                                <td colspan="3">
                                                                    <asp:Label ID="ldlSingleID" runat="server" Text='<%# Eval("SsingleProblemID") %>'
                                                                        Visible="False"></asp:Label></td>
                                                            </tr>
                                                            <tr>
                                                                <td colspan="3" style="height: 24px">
                                                                    <asp:Label ID="lblSingleTitle" runat="server" Text='<%# Eval("Stitle") %>'></asp:Label></td>
                                                            </tr>
                                                            <tr>
                                                                <td colspan="1" style="width: 285px">
                                                                    <asp:RadioButton ID="rdA" runat="server" GroupName="S1" Text="A:" />
                                                                    <asp:Label ID="lblSingleA" runat="server" Text='<%# Eval("SanswerA") %>'></asp:Label></td>
                                                                <td colspan="3">
                                                                    <asp:RadioButton ID="rdB" runat="server" GroupName="S1" Text="B:" />
                                                                    <asp:Label ID="lblSingleB" runat="server" Text='<%# Eval("SanswerB") %>'></asp:Label></td>
                                                            </tr>
                                                            <tr>
                                                                <td colspan="1" style="width: 285px; height: 25px">
                                                                    <asp:RadioButton ID="rdC" runat="server" GroupName="S1" Text="C:" />
                                                                    <asp:Label ID="lblSingleC" runat="server" Text='<%# Eval("SanswerC") %>'></asp:Label></td>
                                                                <td colspan="3" style="height: 25px">
                                                                    <asp:RadioButton ID="rbD" runat="server" GroupName="S1" Text="D:" />
                                                                    <asp:Label ID="lblSingleD" runat="server" Text='<%# Eval("SanswerD") %>'></asp:Label></td>
                                                            </tr>
                                                        </table>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                        </asp:GridView>
                                        <asp:ObjectDataSource ID="ObjectDataSingle" runat="server" SelectMethod="GetSingleProblesByRang"
                                            TypeName="ExamBLL.Auto_Generated_Code.MakePaperManager">
                                            <SelectParameters>
                                                <asp:ControlParameter ControlID="txtSingleNum" Name="sNum" PropertyName="Text" Type="String" />
                                                <asp:ControlParameter ControlID="ddlCourse" Name="courseID" PropertyName="SelectedValue"
                                                    Type="String" />
                                            </SelectParameters>
                                        </asp:ObjectDataSource>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="width: 640px">
                                        <br />
                                        <span style="font-size: 12pt">二、多选题</span></td>
                                </tr>
                                <tr>

⌨️ 快捷键说明

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