📄 webform1.aspx
字号:
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm1.aspx.vb" Inherits="Case8_3.WebForm1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>WebForm1</title>
<meta content="Microsoft Visual Studio .NET 7.0" name="GENERATOR">
<meta content="Visual Basic 7.0" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<FONT face="宋体">
<asp:Calendar id="cldDate" style="Z-INDEX: 101; LEFT: 35px; POSITION: absolute; TOP: 23px" runat="server" Width="392px" Height="178px"></asp:Calendar>
<asp:ListBox id="lstSelectedDates" style="Z-INDEX: 102; LEFT: 35px; POSITION: absolute; TOP: 217px" runat="server" Width="157px" Height="139px"></asp:ListBox>
<asp:DropDownList id="ddlMonth" style="Z-INDEX: 103; LEFT: 223px; POSITION: absolute; TOP: 217px" runat="server" Width="57px" Height="77px">
<asp:ListItem Value="1">1</asp:ListItem>
<asp:ListItem Value="2">2</asp:ListItem>
<asp:ListItem Value="3">3</asp:ListItem>
<asp:ListItem Value="4">4</asp:ListItem>
<asp:ListItem Value="5">5</asp:ListItem>
<asp:ListItem Value="6">6</asp:ListItem>
<asp:ListItem Value="7">7</asp:ListItem>
<asp:ListItem Value="8">8</asp:ListItem>
<asp:ListItem Value="9">9</asp:ListItem>
<asp:ListItem Value="10">10</asp:ListItem>
<asp:ListItem Value="11">11</asp:ListItem>
<asp:ListItem Value="12">12</asp:ListItem>
</asp:DropDownList>
<asp:TextBox id="txtDay" style="Z-INDEX: 104; LEFT: 289px; POSITION: absolute; TOP: 215px" runat="server" Width="139px" Height="26px"></asp:TextBox>
<asp:Button id="btnChangeSelectedDate" style="Z-INDEX: 105; LEFT: 222px; POSITION: absolute; TOP: 256px" runat="server" Width="81px" Height="27px" Text="改变日期"></asp:Button>
<asp:RequiredFieldValidator id="RequiredFieldValidator1" style="Z-INDEX: 106; LEFT: 221px; POSITION: absolute; TOP: 297px" runat="server" Width="96px" Height="15px" ErrorMessage="请输入日期!" ControlToValidate="txtDay"></asp:RequiredFieldValidator>
<asp:RangeValidator id="RangeValidator1" style="Z-INDEX: 107; LEFT: 221px; POSITION: absolute; TOP: 327px" runat="server" Width="131px" Height="24px" ErrorMessage="请输入有效数字!" ControlToValidate="txtDay"></asp:RangeValidator>
<asp:Label id="lblDayValidator" style="Z-INDEX: 108; LEFT: 325px; POSITION: absolute; TOP: 297px" runat="server" Width="90px" Height="23px"></asp:Label></FONT></form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -