📄 addsubject.aspx
字号:
<%@ Page language="c#" Codebehind="AddSubject.aspx.cs" AutoEventWireup="false" Inherits="exam.AddSubject" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>AddSubject</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<TABLE id="Table1" style="Z-INDEX: 101; LEFT: 8px; WIDTH: 480px; POSITION: absolute; TOP: 8px; HEIGHT: 153px"
cellSpacing="1" cellPadding="1" width="480" border="1">
<TR>
<TD align="center"><img src="images\addsubject.gif"></TD>
</TR>
<TR>
<TD><table width="544" height="184" border="0" style="WIDTH: 544px; HEIGHT: 184px">
<tr>
<td width="62" align="right" style="HEIGHT: 25px">题目:</td>
<td width="7" style="WIDTH: 7px; HEIGHT: 25px"> </td>
<td width="297" style="WIDTH: 297px; HEIGHT: 25px">
<asp:TextBox id="TextBox1" runat="server" Width="288px" TextMode="MultiLine" Height="24px"></asp:TextBox></td>
<td width="4" style="WIDTH: 4px; HEIGHT: 25px"> </td>
<td width="132" style="HEIGHT: 25px">
<asp:RequiredFieldValidator id="Requiredtimu" runat="server" ErrorMessage="*题目不能为空" ControlToValidate="TextBox1"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td align="right" style="HEIGHT: 30px">选项A:</td>
<td style="WIDTH: 7px; HEIGHT: 30px"> </td>
<td style="WIDTH: 297px; HEIGHT: 30px">
<asp:TextBox id="TextBox2" runat="server" Width="280px" TextMode="MultiLine" Height="24px"></asp:TextBox></td>
<td style="WIDTH: 4px; HEIGHT: 30px"> </td>
<td style="HEIGHT: 30px">
<asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ErrorMessage="*选项1不能为空" ControlToValidate="TextBox2"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td align="right" style="HEIGHT: 28px">选项B:</td>
<td style="WIDTH: 7px; HEIGHT: 28px"> </td>
<td style="WIDTH: 297px; HEIGHT: 28px">
<asp:TextBox id="TextBox3" runat="server" Width="280px" TextMode="MultiLine" Height="24px"></asp:TextBox></td>
<td style="WIDTH: 4px; HEIGHT: 28px"> </td>
<td style="HEIGHT: 28px">
<asp:RequiredFieldValidator id="RequiredFieldValidator2" runat="server" ErrorMessage="*选项2不能为空" ControlToValidate="TextBox3"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td align="right" style="HEIGHT: 28px">选项C:</td>
<td style="WIDTH: 7px; HEIGHT: 28px"> </td>
<td style="WIDTH: 297px; HEIGHT: 28px">
<asp:TextBox id="TextBox4" runat="server" Width="280px" TextMode="MultiLine" Height="25px"></asp:TextBox></td>
<td style="WIDTH: 4px; HEIGHT: 28px"> </td>
<td style="HEIGHT: 28px">
<asp:RequiredFieldValidator id="RequiredFieldValidator3" runat="server" ErrorMessage="*选项3不能为空" ControlToValidate="TextBox4"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td align="right" style="HEIGHT: 28px"><p>选项D:</p>
</td>
<td style="WIDTH: 7px; HEIGHT: 28px"> </td>
<td style="WIDTH: 297px; HEIGHT: 28px">
<asp:TextBox id="TextBox5" runat="server" Width="280px" TextMode="MultiLine" Height="25px"></asp:TextBox></td>
<td style="WIDTH: 4px; HEIGHT: 28px"> </td>
<td style="HEIGHT: 28px">
<asp:RequiredFieldValidator id="RequiredFieldValidator4" runat="server" ErrorMessage="*选项4不能为空" ControlToValidate="TextBox5"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td align="right">答案:</td>
<td style="WIDTH: 7px"> </td>
<td style="WIDTH: 297px">
<asp:TextBox id="TextBox6" runat="server" Width="80px"></asp:TextBox></td>
<td style="WIDTH: 4px"> </td>
<td>
<asp:RequiredFieldValidator id="RequiredFieldValidator5" runat="server" ErrorMessage="*答案不能为空" ControlToValidate="TextBox6"></asp:RequiredFieldValidator></td>
</tr>
</table>
</TD>
</TR>
<TR>
<TD align="center"><FONT face="宋体">
<asp:Button id="Button1" runat="server" Text="增加" Width="64px"></asp:Button></FONT></TD>
</TR>
</TABLE>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -