温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:我的VS2008通讯录项目源码
当前文件:
MyPhoneBook/Mypb/Default.aspx,打开代码结构图
MyPhoneBook/Mypb/Default.aspx,打开代码结构图1<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Mypb._Default" %> 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
10
.style13 { FONT-SIZE: xx-large; COLOR: #000066; BACKGROUND-COLOR: #00ffff } 11
.style12 { FONT-WEIGHT: bold; FONT-FAMILY: 华文彩云; BACKGROUND-COLOR: #ffffff } 12
.style14 13
{ 14
width: 232px; 15
} 16
.style5 { FONT-SIZE: xx-large; COLOR: #ffffff; BACKGROUND-COLOR: #00ffff } 17
.style6 { FONT-WEIGHT: bold; FONT-FAMILY: 华文彩云 } 18
.style15 19
{ 20
width: 177px; 21
} 22
.style16 23
{ 24
width: 177px; 25
height: 7px; 26
} 27
.style17 28
{ 29
width: 232px; 30
height: 7px; 31
} 32
.style18 33
{ 34
height: 7px; 35
} 36
.style19 37
{ 38
height: 4px; 39
} 40
</style> 41
</head> 42
<body> 43
<form id="form1" runat="server" enableviewstate="True"> 44
<table style="width:100%;"> 45
<tr> 46
<td class="style15"> 47
</td> 48
<td class="style14"> 49
<span class="style13"> 50
<span class="style12">管理我的通信录</span></span></td> 51
<td> 52
</td> 53
</tr> 54
<tr> 55
<td class="style15"> 56
</td> 57
<td class="style14"> 58
<span class="style5"> 59
<span class="style6"> 60
<asp:DataGrid id="DataGrid1" runat="server" 61
62
style="font-family: 华文宋体; color: #993333; font-size: x-large; background-color: #CCCCFF;" 63
Width="628px" BackColor="#FFCCFF" BorderStyle="Double"></asp:DataGrid> 64
</span> 65
</span> 66
</td> 67
<td> 68
</td> 69
</tr> 70
<tr> 71
<td class="style16"> 72
<br /> 73
<asp:LinkButton ID="LinkButton4" runat="server" onclick="LinkButton4_Click" 74
style="text-align: center">插入记录</asp:LinkButton> 75
</td> 76
<td class="style17"> 77
</td> 78
<td class="style18"> 79
</td> 80
</tr> 81
</table> 82
<div> 83
84
<br /> 85
<table style="width:100%;"> 86
<tr> 87
<td class="style19"> 88
</td> 89
<td class="style19"> 90
</td> 91
<td class="style19"> 92
</td> 93
</tr> 94
<tr> 95
<td> 96
<asp:LinkButton ID="LinkButton3" runat="server" onclick="LinkButton3_Click">修改数据</asp:LinkButton> 97
</td> 98
<td> 99
</td> 100
<td> 101
</td> 102
</tr> 103
<tr> 104
<td> 105
<asp:LinkButton ID="LinkButton2" runat="server" onclick="LinkButton2_Click1" 106
style="text-align: left">删除记录</asp:LinkButton> 107
</td> 108
<td> 109
</td> 110
<td> 111
</td> 112
</tr> 113
</table> 114
<br /> 115
<br /> 116
117
</div> 118
</form> 119
</body> 120
</html> 121




.style13
