createdefaultusers.aspx
来自「ASP.NET2.0(C#篇)经典教程的源码...本源码很好的实现了购物车...」· ASPX 代码 · 共 32 行
ASPX
32 行
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CreateDefaultUsers.aspx.cs" Inherits="CreateDefaultUsers" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<h1>User Creation</h1>
<p>
This page will create the default users and roles for
the site. It is not on the menu, and will not need to be
called, but is included so that you can see the user
and role management in use from within code.
</p>
<p>
During the beta phases of ASP.NET, when changes to the
membership database were happening, this page allowed
creation of the users.
</p>
<asp:Button ID="CreateUsersAndRoles" runat="server" Text="Create Users and Roles"
OnClick="CreateUsersAndRoles_Click" />
<br />
<asp:Label id="Status" runat="server" />
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?