1 <%@ Page Language="C#" AutoEventWireup="true"
2 CodeFile="Default.aspx.cs" Inherits="User_Default" %>
3
4 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
5 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6
7 <html xmlns="http://www.w3.org/1999/xhtml" >
8 <head runat="server">
9 <title>메인 페이지</title>
10 </head>
11 <body>
12 <form id="form1" runat="server">
13 <div>
14 메인 페이지<br />
15 <br />
16 <asp:MultiView ID="MultiView1" runat="server">
17 <br />
18 <br />
19 <asp:View ID="View1" runat="server">
20 <asp:HyperLink ID="HyperLink1" runat="server"
21 NavigateUrl="Login.aspx">로그인</asp:HyperLink>
22 <asp:HyperLink ID="HyperLink2" runat="server"
23 NavigateUrl="Register.aspx">회원가입</asp:HyperLink></asp:View>
24 <br />
25 <br />
26 <asp:View ID="View2" runat="server">
27 <asp:Label ID="lblUserID" runat="server"></asp:Label>
28 님 반갑습니다.<br />
29 <asp:LinkButton ID="btnLogout" runat="server"
30 OnClick="btnLogOut_Click">로그아웃</asp:LinkButton></asp:View>
31 <br />
32 </asp:MultiView></div>
33 </form>
34 </body>
35 </html>
36