温馨提示:代码在线浏览功能只能做为源码浏览参考,不能展示项目的全部,如果想更进一步了解该代码请下载:在线订票系统源码(毕业设计)
当前文件路径:TicketOnline/login.aspx

1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="login" %> 2
3
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 4
5
<html xmlns="http://www.w3.org/1999/xhtml" > 6
<head runat="server"> 7
<title>无标题页</title> 8
<link rel=stylesheet href=all.css type="text/css" > 9
</head> 10
<body style="cursor: crosshair; color: #9966ff;" bgcolor="#00bfff" text="#66ffff" vlink="#00ffff" alink="#6699ff"> 11
<form id="form1" runat="server"> 12
<div class="logindiv"> 13
<div style="text-align: center"> 14
<asp:Label ID="Label1" runat="server" BackColor="DeepSkyBlue" Font-Size="XX-Large" 15
ForeColor="Blue" Height="37px" Style="left: 15px; position: relative; top: 108px" 16
Text="欢迎使用web售票系统" Width="444px"></asp:Label> 17
<table class="logintable" border="0" cellpadding="0" cellspacing="0" style="left: 16px; position: relative; top: 108px; height: 122px; border-top-style: none; border-right-style: none; border-left-style: none; border-bottom-style: none; color: #3333ff;"> 18
<tr> 19
<td align="center" style="width: 73px; height: 28px; background-color: #33ccff"> 20
用户名:</td> 21
<td align="center" style="width: 222px; height: 28px; background-color: #33ccff"> 22
<asp:TextBox ID="txtname" runat="server" Style="position: relative; left: 0px; top: 0px;" TabIndex="1" Width="147px"></asp:TextBox></td> 23
<td align="center" style="width: 140px; height: 28px; background-color: #33ccff"> 24
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtname" 25
ErrorMessage="用户名不能为空!" Style="position: relative">用户名不能为空!</asp:RequiredFieldValidator></td> 26
</tr> 27
<tr> 28
<td align="center" style="width: 73px; height: 38px; background-color: #33ccff"> 29
密码:</td> 30
<td align="center" style="width: 222px; height: 38px; background-color: #33ccff"> 31
<asp:TextBox ID="txtpwd" runat="server" Style="left: 1px; position: relative; top: 0px" 32
TabIndex="2" TextMode="Password" Width="147px"></asp:TextBox></td> 33
<td align="center" style="width: 140px; height: 38px; background-color: #33ccff"> 34
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtpwd" 35
ErrorMessage="密码不能为空!" Style="position: relative">密码不能为空!</asp:RequiredFieldValidator></td> 36
</tr> 37
<tr> 38
<td align="center" style="width: 73px; background-color: #33ccff"> 39
确认:</td> 40
<td align="center" style="width: 222px; background-color: #33ccff"> 41
<asp:TextBox ID="txtpwd2" runat="server" Style="left: 1px; position: relative; top: 0px" 42
TabIndex="3" TextMode="Password" Width="147px"></asp:TextBox></td> 43
<td align="center" style="width: 140px; background-color: #33ccff"> 44
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtpwd2" 45
ErrorMessage="密码不能为空!" Style="position: relative">请再次输入密码!</asp:RequiredFieldValidator></td> 46
</tr> 47
<tr> 48
<td align="center" style="width: 73px; height: 26px; background-color: #33ccff"> 49
</td> 50
<td align="center" style="width: 222px; height: 26px; background-color: #33ccff"> 51
<asp:Button ID="btclier" runat="server" CausesValidation="False" 52
Style="left: 81px; position: relative; top: 0px; z-index: 101;" TabIndex="5" Text="清除" BackColor="LightSkyBlue" BorderStyle="None" OnClick="btclier_Click" /> 53
<asp:Button ID="btnlogin" runat="server" Style="left: -91px; 54
position: relative; top: 0px; z-index: 102;" TabIndex="4" Text="登陆" BackColor="LightSkyBlue" BorderStyle="None" OnClick="btnlogin_Click" /></td> 55
<td align="center" style="width: 140px; height: 26px; background-color: #33ccff"> 56
<asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtpwd" 57
ControlToValidate="txtpwd2" ErrorMessage="密码不一致!" Style="position: relative">密码不一致!</asp:CompareValidator></td> 58
</tr> 59
</table> 60
</div> 61
62
</div> 63
</form> 64
</body> 65
</html> 66



