ASP.NET 프로젝트 강의실

시삽: 레드플러스 님 
게시판 이동:
 제목 : Write.aspx
글번호: 189
작성자: 레드플러스
작성일: 2005/03/14 오후 11:37:51
조회수: 2909
파일: Write(2).aspx (5 KB) / 전송수: 1879
<%@ Page language="c#" Codebehind="Write.aspx.cs" AutoEventWireup="false" Inherits="SampleCS.Reply.Write" validateRequest="false" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
    <HEAD>
        <title>Write</title>
        <meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
        <meta content="C#" name="CODE_LANGUAGE">
        <meta content="JavaScript" name="vs_defaultClientScript">
        <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
    </HEAD>
    <body leftMargin="0" topMargin="0" MS_POSITIONING="FlowLayout">
        <form id="Write" method="post" runat="server">
            <h3>답변 게시판</h3>
            <FONT face="굴림">
                <P><FONT style="FONT-SIZE: 9pt; COLOR: #ff0000">글 쓰기 - 다음 필드들을 채워주세요. </FONT>
                    <HR width="100%" SIZE="1">
                    <table id="Table1" style="BORDER-COLLAPSE: collapse" borderColor="black" cellSpacing="0"
                        rules="none" width="600" align="center" bgColor="white">
                        <tr>
                            <td align="center" width="100" bgColor="#efefef">
                                <P align="right">*이 &nbsp;름
                                </P>
                            </td>
                            <td width="500"><asp:textbox id="txtName" runat="server" BorderWidth="1px" BorderStyle="Solid" MaxLength="10"
                                    Width="150px"></asp:textbox><FONT face="굴림">&nbsp;
                                    <asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" ErrorMessage="* 이름을 작성해 주세요." ControlToValidate="txtName"
                                        Display="None"></asp:requiredfieldvalidator></FONT></td>
                        </tr>
                        <tr>
                            <td align="center" bgColor="#efefef">
                                <P align="right">E-mail
                                </P>
                            </td>
                            <td><asp:textbox id="txtEmail" runat="server" BorderWidth="1px" BorderStyle="Solid" MaxLength="80"
                                    Width="200px"></asp:textbox><FONT style="FONT-SIZE: 9pt" color="#aaaaaa"><I>(Optional)</I></FONT>
                                <asp:regularexpressionvalidator id="RegularExpressionValidator1" runat="server" ErrorMessage="* 메일형식이 올바르지 않습니다"
                                    ControlToValidate="txtEmail" Display="None" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:regularexpressionvalidator></td>
                        </tr>
                        <tr>
                            <td align="center" bgColor="#efefef">
                                <P align="right">Homepage&nbsp;
                                </P>
                            </td>
                            <td><asp:textbox id="txtHomepage" runat="server" BorderWidth="1px" BorderStyle="Solid" MaxLength="80"
                                    Width="300px"></asp:textbox><FONT style="FONT-SIZE: 9pt" color="#aaaaaa"><I>(Optional)</I></FONT>
                                <asp:regularexpressionvalidator id="RegularExpressionValidator2" runat="server" ErrorMessage="* 홈페이지를 정확히 작성해주세요."
                                    ControlToValidate="txtHomepage" Display="None" ValidationExpression="http://([\w-]+\.)+[\w-]+(/[\w- ./?%&amp;=]*)?"></asp:regularexpressionvalidator></td>
                        </tr>
                        <tr>
                            <td align="center" bgColor="#efefef">
                                <P align="right">*제 &nbsp;목
                                </P>
                            </td>
                            <td><asp:textbox id="txtTitle" runat="server" BorderWidth="1px" BorderStyle="Solid" MaxLength="30"
                                    Width="480px"></asp:textbox><FONT face="굴림">&nbsp;</FONT>
                                <asp:requiredfieldvalidator id="Requiredfieldvalidator2" runat="server" ErrorMessage="* 제목을 기입해 주세요" ControlToValidate="txtTitle"
                                    Display="None"></asp:requiredfieldvalidator></td>
                        </tr>
                        <tr>
                            <td align="center" bgColor="#efefef">
                                <P align="right">*내 &nbsp;용
                                </P>
                            </td>
                            <td>
                                <P><asp:textbox id="txtContent" runat="server" BorderWidth="1px" BorderStyle="Solid" Width="480px"
                                        TextMode="MultiLine" Rows="10"></asp:textbox><br>
                                    <asp:requiredfieldvalidator id="RequiredFieldValidator3" runat="server" ErrorMessage="* 내용을 기입해 주세요" ControlToValidate="txtContent"
                                        Display="None"></asp:requiredfieldvalidator></P>
                            </td>
                        </tr>
                        <tr>
                            <td align="center" bgColor="#efefef">
                                <P align="right">*인코딩&nbsp;
                                </P>
                            </td>
                            <td><FONT face="굴림"><asp:radiobuttonlist id="rdoEncoding" runat="server" RepeatDirection="Horizontal">
                                        <asp:ListItem Value="Text" Selected="True">Text</asp:ListItem>
                                        <asp:ListItem Value="HTML">HTML</asp:ListItem>
                                        <asp:ListItem Value="Mixed">Mixed</asp:ListItem>
                                    </asp:radiobuttonlist></FONT></td>
                        </tr>
                        <tr>
                            <td align="center" bgColor="#efefef">
                                <P align="right">*비밀번호
                                </P>
                            </td>
                            <td><asp:textbox id="txtPassword" runat="server" BorderWidth="1px" BorderStyle="Solid" MaxLength="20"
                                    Width="150px" TextMode="Password" EnableViewState="False"></asp:textbox>&nbsp;
                                <asp:requiredfieldvalidator id="Requiredfieldvalidator5" runat="server" ErrorMessage="* 비밀번호를 기입해 주세요" ControlToValidate="txtPassword"
                                    Display="None"></asp:requiredfieldvalidator></td>
                        </tr>
                    </table>
                <P></P>
                <p align="center"><A href="list.aspx"></A></p>
                <P align="center"><asp:button id="btnWrite" runat="server" BorderWidth="1px" BorderStyle="Groove" Width="80px"
                        BorderColor="#404040" Text="저장"></asp:button><FONT face="굴림">&nbsp;</FONT><FONT face="굴림">&nbsp;</FONT><asp:button id="btnList" runat="server" BorderWidth="1px" BorderStyle="Groove" Width="80px"
                        BorderColor="#404040" Text="리스트" CausesValidation="False"></asp:button></P>
                <P align="center"><asp:validationsummary id="ValidationSummary1" runat="server" ShowSummary="False" ShowMessageBox="True"
                        DisplayMode="List"></asp:validationsummary></P>
                <P><FONT face="굴림"></FONT>&nbsp;</P>
            </FONT>
        </form>
    </body>
</HTML>
 
이전 글   다음 글 삭제 수정 답변 글쓰기 리스트

(댓글을 남기려면 로그인이 필요합니다.)

관련 아티클 리스트
  제       목 파일 작성자 작성일 조회
이전글 7. 회원관리(MemberCS, MemberVB) - 레드플러스 2004-01-05 3301
  6. 답변형 게시판(ReplyCS, ReplyVB) - 레드플러스 2004-01-05 3880
  1. 답변형 게시판 테이블 구조 Reply.sql(3 KB) 레드플러스 2005-03-14 4269
  답변형 게시판 테이블 구조 그림 답변형게시판테이블구조.jpg(71 KB) 레드플러스 2005-03-14 3663
  답변형 게시판 연습용 쿼리문 - 레드플러스 2005-03-17 2992
  답변형 게시판 연습용 쿼리문 - 레드플러스 2006-02-24 3340
  2. 답변형 게시판 입력 페이지 - 레드플러스 2005-03-14 2824
현재글 Write.aspx Write(2).aspx(5 KB) 레드플러스 2005-03-14 2909
  Write.aspx.cs Write.aspx(2).cs(4 KB) 레드플러스 2005-03-14 2809
  3. 답변형 게시판 출력 - 레드플러스 2005-03-14 2753
  List.aspx List(4).aspx(3 KB) 레드플러스 2005-03-14 2959
  List.aspx.cs List.aspx(2).cs(3 KB) 레드플러스 2005-03-14 3505
  4. 답변형 게시판 상세 - 레드플러스 2005-03-14 2724
  View.aspx View(2).aspx(4 KB) 레드플러스 2005-03-14 2770
  View.aspx.cs View.aspx(2).cs(4 KB) 레드플러스 2005-03-14 2806
  5. 답변형 게시판 수정 - 레드플러스 2005-03-14 2771
  Modify.aspx Modify(2).aspx(5 KB) 레드플러스 2005-03-14 2820
  Modify.aspx.cs Modify.aspx(2).cs(5 KB) 레드플러스 2005-03-14 2778
  6. 답변형 게시판 삭제 - 레드플러스 2005-03-14 2871
  Delete.aspx Delete(2).aspx(1 KB) 레드플러스 2005-03-14 2839
  Delete.aspx.cs Delete.aspx(2).cs(2 KB) 레드플러스 2005-03-14 2775
  7. 답변형 게시판 검색 - 레드플러스 2005-03-14 2794
  Search.aspx Search(2).aspx(2 KB) 레드플러스 2005-03-14 2763
  Search.aspx.cs Search.aspx(2).cs(2 KB) 레드플러스 2005-03-14 2835
  8. 답변형 게시판 답변 - 레드플러스 2005-03-14 2800
  Reply.aspx Reply.aspx(5 KB) 레드플러스 2005-03-14 2833
  Reply.aspx.cs Reply.aspx.cs(5 KB) 레드플러스 2005-03-14 2846
다음글 5. 자료실 게시판 작성 프로젝트(C#) - 레드플러스 2004-01-05 4514
 
손님 사용자 Anonymous (손님)
로그인 Home