제목 : 31.5. 회원 가입 : 회원 정보 표시 : LoginInfor.ascx
글번호:
|
|
195
|
작성자:
|
|
레드플러스
|
작성일:
|
|
2007/06/22 오후 8:15:00
|
조회수:
|
|
6546
|
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="LoginInfor.ascx.cs" Inherits="LoginInforControl" %>
<div>
<asp:LoginView ID="LoginView1" runat="server">
<loggedintemplate>
<asp:LinkButton ID="btnSignOut" runat="server" onclick="btnSignOut_Click">로그아웃</asp:LinkButton>
<asp:HyperLink ID="lnkModify" runat="server"
NavigateUrl="#">
<asp:LoginName ID="LoginName1" runat="server" />
</asp:HyperLink>
</loggedintemplate>
<anonymoustemplate>
<asp:HyperLink ID="lnkLogin" runat="server"
NavigateUrl="~/Login.aspx">로그인</asp:HyperLink>
<asp:HyperLink ID="lnkRegister" runat="server"
NavigateUrl="~/Register.aspx">회원가입</asp:HyperLink>
</anonymoustemplate>
</asp:LoginView>
</div>