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

📄 webform1.aspx

📁 这是一个酒店管理系统的C#语言实现.实现了住宿
💻 ASPX
字号:
<%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="shua.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 bgColor="#339933" MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<FONT face="宋体" id="FONT1" runat="server">
				<asp:Calendar id="Calendar1" style="Z-INDEX: 101; LEFT: 16px; POSITION: absolute; TOP: 144px"
					runat="server" Width="400px" Height="104px" SelectedDate="2006-08-27" VisibleDate="2006-08-27"
					ShowGridLines="True" ForeColor="#FF8080" FirstDayOfWeek="Monday"></asp:Calendar>
				<asp:TextBox id="TextBox2" style="Z-INDEX: 109; LEFT: 424px; POSITION: absolute; TOP: 72px" runat="server"
					Height="26px" Width="144px" TextMode="Password"></asp:TextBox>
				<asp:TextBox id="TextBox1" style="Z-INDEX: 102; LEFT: 96px; POSITION: absolute; TOP: 72px" runat="server"
					Height="26px" Width="144px"></asp:TextBox>
				<asp:Label id="Label1" style="Z-INDEX: 103; LEFT: 32px; POSITION: absolute; TOP: 72px" runat="server"
					Height="40px" Width="80px">用户名</asp:Label>
				<asp:RequiredFieldValidator id="RequiredFieldValidator1" style="Z-INDEX: 104; LEFT: 256px; POSITION: absolute; TOP: 72px"
					runat="server" Height="32px" Width="112px" ErrorMessage="用户名不能为空" ControlToValidate="TextBox1" Display="Dynamic"></asp:RequiredFieldValidator>
				<asp:Label id="Label2" style="Z-INDEX: 105; LEFT: 384px; POSITION: absolute; TOP: 72px" runat="server"
					Height="32px" Width="64px">密码</asp:Label>
				<asp:RegularExpressionValidator id="RegularExpressionValidator1" style="Z-INDEX: 106; LEFT: 584px; POSITION: absolute; TOP: 64px"
					runat="server" Height="24px" Width="128px" ErrorMessage="密码必须为6位以上数字或字母" ControlToValidate="TextBox2" ValidationExpression="[a-zA-Z_0-9]{6,20}"></asp:RegularExpressionValidator>
				<asp:Button id="Button1" style="Z-INDEX: 107; LEFT: 368px; POSITION: absolute; TOP: 112px" runat="server"
					Width="80px" Text="登  录"></asp:Button>
				<asp:Button id="Button2" style="Z-INDEX: 108; LEFT: 480px; POSITION: absolute; TOP: 112px" runat="server"
					Width="80px" Text="取  消" CausesValidation="False"></asp:Button>
				<asp:Label id="message" style="Z-INDEX: 110; LEFT: 576px; POSITION: absolute; TOP: 112px" runat="server"
					Height="40px" Width="136px" ForeColor="Red" Font-Size="Large" Font-Underline="True"></asp:Label>
				<asp:Label id="Label3" style="Z-INDEX: 111; LEFT: 440px; POSITION: absolute; TOP: 192px" runat="server"
					Height="40px" Width="264px" ForeColor="RoyalBlue" Font-Size="Large" Font-Underline="True"
					Font-Overline="True">你的满意就是我们的荣耀</asp:Label>
				<asp:Label id="Label4" style="Z-INDEX: 112; LEFT: 440px; POSITION: absolute; TOP: 256px" runat="server"
					Height="48px" Width="264px" ForeColor="RoyalBlue" Font-Size="Large" Font-Underline="True"
					Font-Overline="True">你的微笑就是最好的回报</asp:Label>
				<asp:Label id="Label5" style="Z-INDEX: 113; LEFT: 192px; POSITION: absolute; TOP: 8px" runat="server"
					Height="56px" Width="320px" ForeColor="Red" Font-Size="X-Large" Font-Underline="True" Font-Overline="True">无 双 酒 店 管 理 系 统</asp:Label></FONT>
		</form>
	</body>
</HTML>

⌨️ 快捷键说明

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