<asp:LoginView ID="HeadLoginView" runat="server" EnableViewState="false">
<AnonymousTemplate>
[<a href="Login.aspx" id="HeadLoginStatus" runat="server">登录</a>]
</AnonymousTemplate>
<LoggedInTemplate>
欢迎您,<span class="bold"><asp:LoginName ID="HeadLoginName" runat="server" /></span>
[<asp:LoginStatus ID="HeadLoginStatus" runat="server" LogoutAction="Redirect" LogoutText="注销" LogoutPageUrl="~/Login.aspx" />]
</LoggedInTemplate>
</asp:LoginView>
<asp:LoginView ID="HeadRegisgerView" runat="server" EnableViewState="false">
<AnonymousTemplate>
[<a href="~/Regisger.aspx" id="HeadLoginStatus" runat="server">申请</a>
</AnonymousTemplate>
</asp:LoginView>