📄 webform1.aspx
字号:
<%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="AddQuestions.WebForm1" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>WebForm1</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">
<FONT face="宋体">
<asp:Label id="Label1" style="Z-INDEX: 100; LEFT: 312px; POSITION: absolute; TOP: 32px" runat="server"
Width="88px" Height="16px">添 加 试 题</asp:Label>
<asp:RequiredFieldValidator id="RequiredFieldValidator5" style="Z-INDEX: 124; LEFT: 576px; POSITION: absolute; TOP: 264px"
runat="server" ErrorMessage="选项D不能为空" ControlToValidate="txtD"></asp:RequiredFieldValidator>
<asp:RequiredFieldValidator id="RequiredFieldValidator4" style="Z-INDEX: 123; LEFT: 576px; POSITION: absolute; TOP: 224px"
runat="server" ErrorMessage="选项C不能为空" ControlToValidate="txtC"></asp:RequiredFieldValidator>
<asp:RequiredFieldValidator id="RequiredFieldValidator3" style="Z-INDEX: 122; LEFT: 576px; POSITION: absolute; TOP: 168px"
runat="server" ErrorMessage="选项A不能为空" ControlToValidate="txtA"></asp:RequiredFieldValidator>
<asp:RequiredFieldValidator id="RequiredFieldValidator2" style="Z-INDEX: 120; LEFT: 576px; POSITION: absolute; TOP: 192px"
runat="server" ErrorMessage="选项B不能为空" ControlToValidate="txtB"></asp:RequiredFieldValidator>
<asp:RequiredFieldValidator id="RequiredFieldValidator1" style="Z-INDEX: 119; LEFT: 224px; POSITION: absolute; TOP: 320px"
runat="server" ErrorMessage="题干不能为空" ControlToValidate="txtTitle"></asp:RequiredFieldValidator>
<asp:Label id="lblMessage" style="Z-INDEX: 118; LEFT: 312px; POSITION: absolute; TOP: 288px"
runat="server" Width="240px"></asp:Label>
<asp:Button id="btnAdd" style="Z-INDEX: 117; LEFT: 336px; POSITION: absolute; TOP: 320px" runat="server"
Text="保存"></asp:Button>
<asp:DropDownList id="ddlAnswer" style="Z-INDEX: 116; LEFT: 232px; POSITION: absolute; TOP: 288px"
runat="server" Width="64px">
<asp:ListItem Value="a">a</asp:ListItem>
<asp:ListItem Value="b">b</asp:ListItem>
<asp:ListItem Value="c">c</asp:ListItem>
<asp:ListItem Value="d">d</asp:ListItem>
</asp:DropDownList>
<asp:TextBox id="txtD" style="Z-INDEX: 115; LEFT: 232px; POSITION: absolute; TOP: 256px" runat="server"
Width="328px"></asp:TextBox>
<asp:TextBox id="txtC" style="Z-INDEX: 114; LEFT: 232px; POSITION: absolute; TOP: 224px" runat="server"
Width="328px"></asp:TextBox>
<asp:TextBox id="txtB" style="Z-INDEX: 113; LEFT: 232px; POSITION: absolute; TOP: 192px" runat="server"
Width="328px"></asp:TextBox>
<asp:TextBox id="txtA" style="Z-INDEX: 112; LEFT: 232px; POSITION: absolute; TOP: 160px" runat="server"
Width="328px"></asp:TextBox>
<asp:DropDownList id="ddlCourseID" style="Z-INDEX: 111; LEFT: 448px; POSITION: absolute; TOP: 64px"
runat="server" Width="120px"></asp:DropDownList>
<asp:DropDownList id="ddlSemester" style="Z-INDEX: 110; LEFT: 232px; POSITION: absolute; TOP: 64px"
runat="server" Width="120px" AutoPostBack="True">
<asp:ListItem Value="1" Selected="True">第一学期</asp:ListItem>
<asp:ListItem Value="2">第二学期</asp:ListItem>
<asp:ListItem Value="3">第三学期</asp:ListItem>
</asp:DropDownList>
<asp:TextBox id="txtTitle" style="Z-INDEX: 109; LEFT: 232px; POSITION: absolute; TOP: 96px" runat="server"
Width="336px" Height="48px" TextMode="MultiLine"></asp:TextBox>
<asp:Label id="Label9" style="Z-INDEX: 108; LEFT: 176px; POSITION: absolute; TOP: 64px" runat="server"
Width="32px" Height="16px">学期</asp:Label>
<asp:Label id="Label8" style="Z-INDEX: 107; LEFT: 392px; POSITION: absolute; TOP: 64px" runat="server"
Width="32px" Height="16px">科目</asp:Label>
<asp:Label id="Label7" style="Z-INDEX: 106; LEFT: 176px; POSITION: absolute; TOP: 96px" runat="server"
Width="32px" Height="16px">题干</asp:Label>
<asp:Label id="Label6" style="Z-INDEX: 105; LEFT: 176px; POSITION: absolute; TOP: 160px" runat="server"
Width="40px" Height="8px">选项A</asp:Label>
<asp:Label id="Label5" style="Z-INDEX: 104; LEFT: 176px; POSITION: absolute; TOP: 224px" runat="server"
Width="40px" Height="8px">选项C</asp:Label>
<asp:Label id="Label4" style="Z-INDEX: 103; LEFT: 176px; POSITION: absolute; TOP: 192px" runat="server"
Width="40px" Height="8px">选项B</asp:Label>
<asp:Label id="Label3" style="Z-INDEX: 102; LEFT: 176px; POSITION: absolute; TOP: 256px" runat="server"
Width="40px" Height="8px">选项D</asp:Label>
<asp:Label id="Label2" style="Z-INDEX: 101; LEFT: 176px; POSITION: absolute; TOP: 288px" runat="server"
Width="32px" Height="8px">答案</asp:Label></FONT>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -