温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:我的VS2008通讯录项目源码
当前文件:
MyPhoneBook/Mypb/login.aspx,打开代码结构图
MyPhoneBook/Mypb/login.aspx,打开代码结构图1<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="Mypb.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
<style type="text/css"> 9
#form1 10
{ 11
height: 162px; 12
width: 310px; 13
} 14
.style1 15
{ 16
width: 27px; 17
} 18
.style2 19
{ 20
width: 27px; 21
height: 195px; 22
} 23
.style3 24
{ 25
height: 195px; 26
} 27
.style4 28
{ 29
width: 27px; 30
height: 295px; 31
} 32
.style5 33
{ 34
height: 295px; 35
} 36
</style> 37
</head> 38
<body bgcolor="#ccffff"> 39
<form id="form1" runat="server"> 40
<table style="width: 263%; height: 410px;"> 41
<tr> 42
<td class="style4"> 43
</td> 44
<td class="style5"> 45
</td> 46
<td class="style5"> 47
</td> 48
</tr> 49
<tr> 50
<td class="style2"> 51
</td> 52
<td class="style3"> 53
<asp:Panel ID="Panel4" runat="server" BackColor="#FFCCCC" BorderColor="#FFCCFF" 54
BorderStyle="Double" Height="171px" style="text-align: center" Width="421px"> 55
<br /> 56
<br /> 57
用户名:<asp:TextBox ID="TextBox1" runat="server" Width="130px"></asp:TextBox> 58
<br /> 59
口令:<asp:TextBox ID="TextBox2" runat="server" 60
TextMode="Password" Width="130px"></asp:TextBox> 61
<br /> 62
<br /> 63
<br /> 64
65
<asp:Button ID="Button1" runat="server" Height="27px" onclick="Button1_Click" 66
Text="管理员登陆" Width="100px" /> 67
68
<asp:Button ID="Button2" runat="server" onclick="Button2_Click" Text="访问者进入" /> 69
<br /> 70
71
</asp:Panel> 72
</td> 73
<td class="style3"> 74
</td> 75
</tr> 76
<tr> 77
<td class="style1"> 78
</td> 79
<td> 80
</td> 81
<td> 82
</td> 83
</tr> 84
</table> 85
</form> 86
</body> 87
</html> 88



#form1

