?? default.aspx
字號:
?<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>無標題頁</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Panel ID="Panel1" runat="server" Height="542px" Style="left: 66px; position: relative;
top: 9px; z-index: 104;" Width="857px" EnableViewState="False">
<table style="left: 7px; background-image: url(App_Data/7.jpg); width: 839px; position: relative;
top: 8px; height: 533px; z-index: 104;">
<tr>
<td style="width: 149px; height: 129px">
<br />
<br />
<br />
通行證用戶名 </td>
<td style="width: 109px; height: 129px">
<asp:TextBox ID="TextBox1" runat="server" OnTextChanged="TextBox1_TextChanged1" Style="z-index: 102;
left: 360px; position: absolute; top: 130px"></asp:TextBox>
<br />
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click1" Text="點擊檢查是否合法" style="position: absolute; z-index: 101; left: 569px; top: 124px;" Width="152px" />
</td>
</tr>
<tr>
<td style="width: 149px; height: 39px;">
登陸密碼:</td>
<td style="width: 109px; height: 39px;">
<asp:TextBox ID="TextBox2" runat="server" style="z-index: 100; left: 367px; position: absolute; top: 224px" OnTextChanged="TextBox2_TextChanged" TextMode="Password"></asp:TextBox>
</td>
</tr>
<tr>
<td style="width: 149px; height: 41px;">
再次輸入密碼:</td>
<td style="width: 109px; height: 41px;">
<asp:TextBox ID="TextBox3" runat="server" style="z-index: 100; left: 364px; position: absolute; top: 292px" TextMode="Password"></asp:TextBox>
<asp:CompareValidator ID="CompareValidator2" runat="server" ControlToCompare="TextBox2"
ControlToValidate="TextBox3" ErrorMessage="請輸入一致" ForeColor="DeepPink" Style="left: 221px;
position: relative; top: 0px"></asp:CompareValidator></td>
</tr>
<tr>
<td style="width: 149px; height: 34px;">
密碼保護問題:</td>
<td style="width: 109px; height: 34px;">
<asp:DropDownList ID="DropDownList2" runat="server" Width="153px" style="z-index: 100; left: 366px; position: absolute; top: 357px">
<asp:ListItem>你的家鄉在哪里</asp:ListItem>
<asp:ListItem>你好朋友的名字</asp:ListItem>
<asp:ListItem>你的愛好</asp:ListItem>
<asp:ListItem>你的初中在哪上</asp:ListItem>
<asp:ListItem>你最喜歡的運動</asp:ListItem>
<asp:ListItem>你最喜歡的國家</asp:ListItem>
</asp:DropDownList></td>
</tr>
<tr>
<td style="width: 149px; height: 30px;">
您的答案:</td>
<td style="width: 109px; height: 30px;">
<asp:TextBox ID="TextBox4" runat="server" style="position: absolute; left: 364px; top: 410px;" Width="146px"></asp:TextBox>
</td>
</tr>
<tr>
<td style="width: 149px; height: 32px;">
性別 :</td>
<td style="width: 109px; height: 32px;">
<asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal"
Width="152px" style="position: absolute; z-index: 100; left: 363px; top: 458px;">
<asp:ListItem>男</asp:ListItem>
<asp:ListItem>女</asp:ListItem>
</asp:RadioButtonList></td>
</tr>
<tr>
<td colspan="2" style="height: 16px">
<asp:Button ID="Button2" runat="server" Height="25px" OnClick="Button2_Click"
Style="left: 294px; position: absolute; top: 504px" Text=" 下一步" Width="134px" /></td>
</tr>
</table>
</asp:Panel>
<asp:Panel ID="Panel2" runat="server" Height="496px" Style="left: 66px; position: relative;
top: 10px; z-index: 101;" Width="800px" EnableTheming="True">
<table style="font-size: 40pt; background-image: url(App_Data/66.jpg);
width: 792px; color: #ff0066; height: 492px; z-index: 100; left: 0px; position: absolute; top: 1px; background-position: center center;" rules="all" frame="above">
<tr>
<td align="middle" style="background-image: url(33.jpg); width: 100px; height: 168px; font-size: 40pt;" colspan="" rowspan="" valign="top">
<asp:Label ID="Label1" runat="server" Style="z-index: 102; left: 53px; position: absolute;
top: 106px; font-weight: bold; color: purple;" Text=" 成功注冊 現在返回登陸!" Width="717px" Height="101px"></asp:Label>
<br />
<br />
<br />
<br />
<br />
<asp:Button ID="Button3" runat="server" Text="返 回" Width="129px" style="z-index: 101; left: 326px; position: absolute; top: 343px" OnClick="Button3_Click2" ForeColor="Maroon" Height="36px" /></td>
</tr>
<tr>
</tr>
</table>
</asp:Panel>
<asp:Panel ID="Panel4" runat="server" Height="356px" Style="left: 106px; position: relative;
top: 3px; z-index: 102;" Width="779px">
<table rules="all" style="z-index: 100; left: 9px; width: 679px; position: relative;
top: 10px; height: 247px">
<tr>
<td style="width: 98px; height: 368px;">
<table style="z-index: 100; left: 0px; width: 728px; color: #3300ff; position: relative;
top: 0px; height: 394px; background-image: url(App_Data/11.jpg);" frame="void">
<tr>
<td style="font-size: 40pt; background-image: url(9.jpg);
width: 100px; color: #ff00ff; height: 261px; background-position: center top;">
<asp:Label ID="Label2" runat="server" ForeColor="DarkSlateGray" Style="z-index: 100; left: 188px;
position: absolute; top: 123px; font-weight: bold; background-image: url(App_Data/11.jpg); background-color: transparent; text-decoration: underline;" Text=" 登陸成功!" Width="293px" BorderStyle="Ridge" Height="75px"></asp:Label>
</td>
</tr>
</table>
</td>
</tr>
</table>
</asp:Panel>
<asp:Panel ID="Panel3" runat="server" Height="547px" Style="left: 80px; position: relative;
top: 5px; z-index: 103; background-image: url(App_Data/22.jpg);" Width="819px">
<table style="left: 0px; background-image: url(App_Data/66.jpg); width: 846px; position: relative;
top: 16px; height: 529px; background-position: center center; color: #ff00ff;">
<tr>
<td align="center" colspan="2" style="font-size: 30pt; color: #ff00ff; height: 16px; width: 820px;">
<asp:Label ID="Label3" runat="server" Style="left: 137px; position: relative; top: 3px; font-weight: bold; color: olive;"
Text=" 歡迎使用郵箱 " Width="449px" BorderStyle="Outset"></asp:Label>
</td>
</tr>
<tr>
<td align="right" colspan="2" style="font-size: 15pt; width: 820px; color: #ff00ff;
height: 10px">
<asp:Label ID="Label4" runat="server" Style="z-index: 100; left: 536px; position: absolute;
top: 326px; color: gray;" Text="未注冊的用戶請先注冊" Width="220px" BorderStyle="None"></asp:Label>
</td>
</tr>
<tr>
<td colspan="2" style="font-size: 20pt; height: 20px; color: black; width: 820px; font-weight: bold;">
用戶名:<asp:TextBox ID="TextBox6"
runat="server" Style="left: 40px; position: relative; top: -3px" OnTextChanged="TextBox6_TextChanged" Width="171px"></asp:TextBox></td>
</tr>
<tr>
<td colspan="2" style="font-size: 20pt; height: 7px; width: 820px; font-weight: bold; color: black;">
密碼:<asp:TextBox ID="TextBox7"
runat="server" Style="left: 48px; position: relative; top: -3px" OnTextChanged="TextBox7_TextChanged" Width="177px" TextMode="Password"></asp:TextBox></td>
</tr>
<tr>
<td colspan="2" style="height: 14px; width: 820px;">
<asp:Button ID="Button4" runat="server" OnClick="Button4_Click" Style="left: 167px;
position: relative; top: 3px" Text="登 陸" Width="116px" ForeColor="Indigo" Height="30px" />
<asp:Button ID="Button5" runat="server" ForeColor="Indigo" Height="30px" OnClick="Button5_Click1"
Style="left: 286px; position: relative; top: 3px" Text="注 冊" Width="108px" /></td>
</tr>
</table>
</asp:Panel>
</div>
</form>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -