tianjiatimu.aspx
来自「用asp.net开发的考试系统」· ASPX 代码 · 共 53 行
ASPX
53 行
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="tianjiatimu.aspx.cs" Inherits="Default2" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table border="1" style=" background-color:Green; border-color:Blue "><tr><td style="width: 329px; height: 21px;">
选择题</td>
</tr><tr><td style="width: 329px" rowspan="2"><asp:TextBox ID="TextBox5" runat="server" Height="52px" TextMode="MultiLine" Width="233px"></asp:TextBox>第一题<br />
答案: <asp:DropDownList ID="DropDownList7" runat="server" Width="53px">
<asp:ListItem Value="A"></asp:ListItem>
<asp:ListItem Value="B"></asp:ListItem>
<asp:ListItem Value="C"></asp:ListItem>
</asp:DropDownList>
<br />
难度:<asp:DropDownList ID="DropDownList3" runat="server" Width="55px">
<asp:ListItem>0</asp:ListItem>
<asp:ListItem>1</asp:ListItem>
<asp:ListItem>2</asp:ListItem>
</asp:DropDownList>
</td></tr>
<tr></tr>
</table>
<table border="1" style=" background-color:Green; border-color:Blue "><tr><td style="width: 329px; height: 21px;">
填空题</td>
</tr><tr><td style="width: 329px" rowspan="2"><asp:TextBox ID="TextBox9" runat="server" Height="52px" TextMode="MultiLine" Width="233px"></asp:TextBox>第一题<br />
<br />
<asp:TextBox ID="TextBox10" runat="server" Height="52px" TextMode="MultiLine" Width="233px"></asp:TextBox>
答案<br />
难度:<asp:DropDownList ID="DropDownList5" runat="server" Width="55px">
<asp:ListItem>0</asp:ListItem>
<asp:ListItem>1</asp:ListItem>
<asp:ListItem>2</asp:ListItem>
</asp:DropDownList></td></tr>
<tr></tr>
</table>
<table border="1" style=" background-color:Green; border-color:Blue "><tr><td style="width: 329px; height: 21px;">
问答题</td>
</tr><tr><td style="width: 329px" rowspan="2"><asp:TextBox ID="TextBox1" runat="server" Height="52px" TextMode="MultiLine" Width="233px"></asp:TextBox>第一题<br />
<br />
<asp:TextBox ID="TextBox2" runat="server" Height="52px" TextMode="MultiLine" Width="233px"></asp:TextBox>
答案<br />
难度:<asp:DropDownList ID="DropDownList1" runat="server" Width="55px">
<asp:ListItem>0</asp:ListItem>
<asp:ListItem>1</asp:ListItem>
<asp:ListItem>2</asp:ListItem>
</asp:DropDownList></td></tr>
<tr></tr>
<tr><td>
<asp:Button ID="Button1" runat="server" Text="添加题目" OnClick="Button1_Click" />
<asp:Button ID="Button2" runat="server" Text="添加完成" OnClick="Button2_Click" /></td></tr>
</table>
</asp:Content>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?