17. FrmMaximWrite.aspx 페이지와 이에 대한 코드 숨김 파일의 코드는 다음과 같다.
▼ FrmMaximWrite.aspx
<%@ Page Language=“C#” AutoEventWireup=“true” CodeBehind=“FrmMaximWrite.aspx.cs” Inherits=“DevDapper.FrmMaximWrite” %> <!DOCTYPE html> <html xmlns=“http://www.w3.org/1999/xhtml"> <head runat=“server”> <meta http-equiv=“Content-Type” content=“text/html; charset=utf-8”/> <title>입력</title> </head> <body> <form id=“form1” runat=“server”> <div> 이름: <asp:TextBox ID=“txtName” runat=“server”></asp:TextBox> <br /> 명언: <asp:TextBox ID=“txtContent” runat=“server”></asp:TextBox> <br /> <asp:Button ID=“btnWrite” runat=“server” Text=“저장” OnClick=“btnWrite_Click” /> <br /> <asp:Label ID=“lblDisplay” runat=“server”></asp:Label> <hr /> <asp:HyperLink ID=“lnkList” runat=“server” NavigateUrl=“~/FrmMaximList.aspx”>리스트</asp:HyperLink> </div> </form> </body> </html>