ASP.NET 프로젝트 강의실

시삽: 레드플러스 님 
게시판 이동:
 제목 : Write.aspx
글번호: 159
작성자: 레드플러스
작성일: 2005/03/10 오후 8:00:28
조회수: 3154
파일: Write(1).aspx (6 KB) / 전송수: 2048
<%@ Page language="c#" Codebehind="Write.aspx.cs" AutoEventWireup="false" Inherits="SampleCS.Upload.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">
        <LINK href="../Global.css" type="text/css" rel="stylesheet">
    </HEAD>
    <body leftMargin="0" topMargin="0" MS_POSITIONING="FlowLayout">
        <form id="Write" method="post" encType="multipart/form-data" runat="server">
            <h3>자료실&nbsp;게시판</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">
                        <TBODY>
                            <tr>
                                <td align="center" width="100" bgColor="#efefef">
                                    <P align="right">*이 &nbsp;름
                                    </P>
                                </td>
                                <td width="500"><asp:textbox id="txtName" runat="server" Width="150px" MaxLength="10" BorderStyle="Solid" BorderWidth="1px"></asp:textbox><FONT face="굴림">&nbsp;
                                        <asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" Display="None" ControlToValidate="txtName"
                                            ErrorMessage="* 이름을 작성해 주세요."></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" Width="200px" MaxLength="80" BorderStyle="Solid" BorderWidth="1px"></asp:textbox><FONT style="FONT-SIZE: 9pt" color="#aaaaaa"><I>(Optional)</I></FONT>
                                    <asp:regularexpressionvalidator id="RegularExpressionValidator1" runat="server" Display="None" ControlToValidate="txtEmail"
                                        ErrorMessage="* 메일형식이 올바르지 않습니다" 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" Width="300px" MaxLength="80" BorderStyle="Solid"
                                        BorderWidth="1px"></asp:textbox><FONT style="FONT-SIZE: 9pt" color="#aaaaaa"><I>(Optional)</I></FONT>
                                    <asp:regularexpressionvalidator id="RegularExpressionValidator2" runat="server" Display="None" ControlToValidate="txtHomepage"
                                        ErrorMessage="* 홈페이지를 정확히 작성해주세요." 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" Width="480px" MaxLength="30" BorderStyle="Solid" BorderWidth="1px"></asp:textbox><FONT face="굴림">&nbsp;</FONT>
                                    <asp:requiredfieldvalidator id="Requiredfieldvalidator2" runat="server" Display="None" ControlToValidate="txtTitle"
                                        ErrorMessage="* 제목을 기입해 주세요"></asp:requiredfieldvalidator></td>
                            </tr>
                            <tr>
                                <td align="center" bgColor="#efefef">
                                    <P align="right">*내 &nbsp;용
                                    </P>
                                </td>
                                <td>
                                    <P><asp:textbox id="txtContent" runat="server" Width="480px" BorderStyle="Solid" BorderWidth="1px"
                                            Rows="10" TextMode="MultiLine"></asp:textbox><br>
                                        <asp:requiredfieldvalidator id="RequiredFieldValidator3" runat="server" Display="None" ControlToValidate="txtContent"
                                            ErrorMessage="* 내용을 기입해 주세요"></asp:requiredfieldvalidator></P>
                                </td>
                            </tr>
                            <tr>
                                <td align="center" bgColor="#efefef">
                                    <P align="right">파일첨부&nbsp;
                                    </P>
                                </td>
                                <td><asp:checkbox id="chkUpload" runat="server" Text="이 체크박스를 선택하면 업로드 화면이 나타납니다." AutoPostBack="True"></asp:checkbox><br>
                                    <asp:panel id="Panel1" runat="server" Width="240px" Visible="False" Height="21px">
                                        <INPUT id="fileUpload" style="WIDTH: 290px; HEIGHT: 19px" type="file" size="29" name="File1"
                                            runat="server">
                                    </asp:panel></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:radiobuttonlist></FONT></td>
                            </TR>
                            <tr>
                                <td align="center" bgColor="#efefef">
                                    <P align="right">*비밀번호
                                    </P>
                                </td>
                                <td><asp:textbox id="txtPassword" runat="server" Width="150px" MaxLength="20" BorderStyle="Solid"
                                        BorderWidth="1px" TextMode="Password" EnableViewState="False"></asp:textbox>&nbsp;
                                    <asp:requiredfieldvalidator id="Requiredfieldvalidator5" runat="server" Display="None" ControlToValidate="txtPassword"
                                        ErrorMessage="* 비밀번호를 기입해 주세요"></asp:requiredfieldvalidator></td>
                            </tr>
                        </TBODY>
                    </table>
                <P></P>
                <p align="center"><A href="list.aspx"></A></p>
                <P align="center"><asp:button id="btnWrite" runat="server" Width="80px" BorderStyle="Groove" BorderWidth="1px"
                        Text="저장" BorderColor="#404040"></asp:button><FONT face="굴림">&nbsp;</FONT><FONT face="굴림">&nbsp;</FONT><asp:button id="btnList" runat="server" Width="80px" BorderStyle="Groove" BorderWidth="1px"
                        Text="리스트" BorderColor="#404040" CausesValidation="False"></asp:button></P>
                <P align="center"><asp:validationsummary id="ValidationSummary1" runat="server" DisplayMode="List" ShowMessageBox="True"
                        ShowSummary="False"></asp:validationsummary></P>
                <P><FONT face="굴림"></FONT>&nbsp;</P>
            </FONT>
        </form>
    </body>
</HTML>
 
이전 글   다음 글 삭제 수정 답변 글쓰기 리스트

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

관련 아티클 리스트
  제       목 파일 작성자 작성일 조회
이전글 6. 답변형 게시판(ReplyCS, ReplyVB) - 레드플러스 2004-01-05 3871
  5. 자료실 게시판 작성 프로젝트(C#) - 레드플러스 2004-01-05 4505
  1. 자료실 게시판 테이블 구조 자료실게시판구조.jpg(69 KB) 레드플러스 2004-01-08 3892
  입력 Write.jpg(132 KB) 레드플러스 2005-03-10 3015
  출력 List.jpg(175 KB) 레드플러스 2005-03-10 3046
  상세 View.jpg(93 KB) 레드플러스 2005-03-10 2954
  수정 Modify.jpg(109 KB) 레드플러스 2005-03-10 2938
  삭제 Delete.jpg(45 KB) 레드플러스 2005-03-10 2934
  검색 Search.jpg(152 KB) 레드플러스 2005-03-10 2878
  공통 스타일 시트 : Upload.css - 레드플러스 2005-09-05 3024
  파일업로드 연습 : UploadTest.aspx UploadTest.aspx(1 KB) 레드플러스 2005-09-05 3140
  파일업로드 연습 : UploadTest.aspx.cs UploadTest.aspx.cs(2 KB) 레드플러스 2005-09-05 3292
  파일업로드 연습(파일명 중복 처리) : UploadTest.aspx.cs - 레드플러스 2005-09-06 4037
  2. 입력 페이지 설계 - 레드플러스 2004-06-20 2958
현재글 Write.aspx Write(1).aspx(6 KB) 레드플러스 2005-03-10 3154
  Write.aspx.cs Write.aspx(1).cs(6 KB) 레드플러스 2005-03-10 2945
  3. 출력 페이지 설계 - 레드플러스 2004-06-20 2971
  List.aspx List(3).aspx(3 KB) 레드플러스 2005-03-10 3299
  List.aspx.cs List.aspx(1).cs(2 KB) 레드플러스 2005-03-10 2944
  4. 세부 출력 페이지 설계 - 레드플러스 2004-06-20 2927
  View.aspx View(1).aspx(4 KB) 레드플러스 2005-03-10 6465
  View.aspx.cs View.aspx(1).cs(4 KB) 레드플러스 2005-03-10 2833
  5. 수정 페이지 설계 - 레드플러스 2004-06-20 2944
  Modify.aspx Modify(1).aspx(5 KB) 레드플러스 2005-03-10 2879
  Modify.aspx.cs Modify.aspx(1).cs(5 KB) 레드플러스 2005-03-10 2830
  6. 삭제 페이지 설계 - 레드플러스 2004-06-20 2790
  Delete.aspx Delete(1).aspx(1 KB) 레드플러스 2005-03-10 2811
  Delete.aspx.cs Delete.aspx(1).cs(3 KB) 레드플러스 2005-03-10 2828
  7. 검색 페이지 설계 - 레드플러스 2005-03-10 2766
  Search.aspx Search(1).aspx(2 KB) 레드플러스 2005-03-10 2869
  Search.aspx.cs Search.aspx(1).cs(2 KB) 레드플러스 2005-03-10 2742
  8. 강제 다운로드 페이지 구현 - 레드플러스 2005-03-10 2541
  Down.aspx.cs Down.aspx.cs(2 KB) 레드플러스 2005-03-10 2557
  자료실 게시판 프로젝트 소스 Upload.zip(60 KB) 레드플러스 2005-09-06 2472
다음글 4. 기본형 게시판 작성 프로젝트(C#) - 레드플러스 2004-01-04 3580
 
손님 사용자 Anonymous (손님)
로그인 Home