⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 createdefaultusers.aspx

📁 ASP.NET2.0(C#篇)经典教程的源码...本源码很好的实现了购物车....编码规范和类的设计具有很好的借鉴性!
💻 ASPX
字号:
<%@ 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -