温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:我的VS2008通讯录项目源码
当前文件:
MyPhoneBook/Mypb/add.aspx,打开代码结构图
MyPhoneBook/Mypb/add.aspx,打开代码结构图1<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="add.aspx.cs" Inherits="Mypb.add" %> 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
.style1 10
{ 11
font-family: 华文琥珀; 12
font-size: x-large; 13
color: #9933FF; 14
} 15
.style2 16
{ 17
width: 117px; 18
} 19
</style> 20
</head> 21
<body> 22
<form id="form1" runat="server"> 23
<div> 24
25
<br /> 26
<br /> 27
<br /> 28
<br /> 29
<br /> 30
<br /> 31
32
<span class="style1">添加信息记录<br /> 33
</span> 34
<asp:Panel ID="Panel1" runat="server" BorderStyle="Groove" Height="136px" 35
style="background-color: #FFCCCC" Width="591px"> 36
<table style="width:100%; height: 129px;"> 37
<tr> 38
<td class="style2"> 39
姓名 </td> 40
<td> 41
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> 42
</td> 43
<td> 44
</td> 45
</tr> 46
<tr> 47
<td class="style2"> 48
电话 </td> 49
<td> 50
<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox> 51
</td> 52
<td> 53
</td> 54
</tr> 55
<tr> 56
<td class="style2"> 57
Email </td> 58
<td> 59
<asp:TextBox ID="TextBox3" runat="server"></asp:TextBox> 60
</td> 61
<td> 62
</td> 63
</tr> 64
</table> 65
</asp:Panel> 66
67
<asp:Button ID="Button2" runat="server" onclick="Button2_Click" Text="提交" /> 68
69
<asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="返回" /> 70
<br /> 71
<br /> 72
<br /> 73
74
<br /> 75
76
</div> 77
</form> 78
</body> 79
</html> 80



.style1

