1 <%@ Page Language="C#" AutoEventWireup="true"
2 CodeFile="Write.aspx.cs" Inherits="Basic_Write" %>
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:TextBox ID="txtName" runat="server"></asp:TextBox><br />
17 이메일:<asp:TextBox ID="txtEmail" runat="server"></asp:TextBox><br />
18 홈페이지:<asp:TextBox ID="txtHomepage" runat="server"></asp:TextBox><br />
19 제목:<asp:TextBox ID="txtTitle" runat="server"></asp:TextBox><br />
20 내용:<asp:TextBox ID="txtContent" runat="server"
21 TextMode="MultiLine"></asp:TextBox><br />
22 <br />
23 암호:<asp:TextBox ID="txtPassword" runat="server"
24 TextMode="Password"></asp:TextBox><br />
25 인코딩:<asp:RadioButtonList ID="lstEncoding" runat="server"
26 RepeatDirection="Horizontal" RepeatLayout="Flow">
27 <asp:ListItem Value="Text">Text</asp:ListItem>
28 <asp:ListItem Value="HTML">HTML</asp:ListItem>
29 <asp:ListItem Value="Mixed">Mixed</asp:ListItem>
30 </asp:RadioButtonList><br />
31 <br />
32 <asp:Button ID="btnWrite" runat="server" Text="저장"
33 OnClick="btnWrite_Click" />
34 <asp:Button ID="btnList" runat="server" Text="리스트"
35 OnClick="btnList_Click" />
36 </div>
37 </form>
38 </body>
39 </html>
40