温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:Asp.net2.0用户注册控件使用实例
当前文件:
UserWizard/Login.aspx,打开代码结构图
UserWizard/Login.aspx,打开代码结构图1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="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
</head> 9
<body> 10
<form id="form1" runat="server"> 11
<div> 12
<asp:Login ID="Login1" runat="server" DestinationPageUrl="~/Default.aspx" CreateUserText="新用户注册" CreateUserUrl="~/Register.aspx"> 13
</asp:Login> 14
15
</div> 16
</form> 17
<a href="http://www.51aspx.com" target="_blank">Download From 51aspx.com</a> 18
</body> 19
</html> 20



