温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:我的小书坊源码(三层实现)
当前文件:
MyBookShop/Register.aspx,打开代码结构图
MyBookShop/Register.aspx,打开代码结构图1<%@ Page Language="c#" Inherits="MyBookShop.Web.Register" CodeFile="Register.aspx.cs" %> 2
3
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > 4
<html xmlns="http://www.w3.org/1999/xhtml"> 5
<head id="Head1" runat="server"> 6
<title>注册</title> 7
<link href="Styles/style.css" rel="stylesheet" type="text/css" /> 8
</head> 9
<body> 10
<form id="Form1" method="post" runat="server"> 11
<table id="Table1" style="background-color: lightblue; left: 8px; width: 440px; position: absolute; 12
top: 8px; height: 168px" cellspacing="1" cellpadding="0" width="440" border="0"> 13
<tbody> 14
<tr> 15
<td colspan="2"> 16
>>用户注册 17
<hr /> 18
</td> 19
</tr> 20
<tr> 21
<td style="width: 90px"> 22
登录名*</td> 23
<td style="width: 232px"> 24
<asp:TextBox ID="TextBoxLoginName" runat="server" Width="120px"></asp:TextBox> <asp:Button 25
ID="ButtonCheck" runat="server" Width="64px" Text="是否存在?" OnClick="ButtonCheck_Click"> 26
</asp:Button></td> 27
</tr> 28
<tr> 29
<td style="width: 90px"> 30
姓名*</td> 31
<td style="width: 232px"> 32
<asp:TextBox ID="TextBoxUserName" runat="server" Width="120px"></asp:TextBox></td> 33
</tr> 34
<tr> 35
<td style="width: 90px"> 36
密码*</td> 37
<td style="width: 232px"> 38
<asp:TextBox ID="TextBoxPassword" runat="server" TextMode="Password"></asp:TextBox></td> 39
</tr> 40
<tr> 41
<td style="width: 90px"> 42
重复密码*</td> 43
<td style="width: 232px"> 44
<asp:TextBox ID="TextBoxPassword2" runat="server" TextMode="Password"></asp:TextBox></td> 45
</tr> 46
<tr> 47
<td style="width: 90px"> 48
联系地址</td> 49
<td colspan="2"> 50
<asp:TextBox ID="TextBoxAddress" runat="server" Width="368px"></asp:TextBox></td> 51
</tr> 52
<tr> 53
<td style="width: 90px"> 54
邮编</td> 55
<td style="width: 232px"> 56
<asp:TextBox ID="TextBoxZip" runat="server" Width="224px"></asp:TextBox></td> 57
</tr> 58
<tr> 59
<td align="center" colspan="3"> 60
<hr /> 61
<asp:Button ID="ButtonOK" runat="server" Width="56px" Text="提交" OnClick="ButtonOK_Click"> 62
</asp:Button></td> 63
</tr> 64
</tbody> 65
</table> 66
</form> 67
</body> 68
</html> 69



