ASP.NET 기초 강의실

시삽: 레드플러스 님 
게시판 이동:
 제목 : [2] 일정 입력 : ~/Schedule/ScheduleWrite.ascx
글번호: 245
작성자: 레드플러스
작성일: 2008/07/01 오후 3:05:00
조회수: 4649
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ScheduleWrite.ascx.cs"
    Inherits="Schedule_ScheduleWriteControl" %>
<table border="1" style="width: 100%">
    <tr>
        <td colspan="2" style="text-align: center">
            <h3>
                스케줄 입력하기</h3>
        </td>
    </tr>
    <tr>
        <td style="width: 80px">
            일시:
        </td>
        <td>
            <asp:DropDownList ID="lstYear" runat="server">
            </asp:DropDownList>
            <asp:DropDownList ID="ddlMonth" runat="server">
            </asp:DropDownList>
            <asp:DropDownList ID="comDay" runat="server">
            </asp:DropDownList>
            <asp:DropDownList ID="ctlHour" runat="server">
            </asp:DropDownList>
        </td>
    </tr>
    <tr>
        <td style="width: 80px">
            제목:
        </td>
        <td>
            <asp:TextBox ID="txtTitle" runat="server" Width="400px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td style="width: 80px">
            내용:
        </td>
        <td>
            <asp:TextBox ID="txtContent" runat="server" Height="150px" TextMode="MultiLine" Width="400px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td colspan="2" style="text-align: center">
            <asp:Button ID="btnWrite" runat="server" Text="입력" ValidationGroup="WriteForm" OnClick="btnWrite_Click" />
            <asp:Button ID="btnList" runat="server" Text="리스트" OnClick="btnList_Click" />
        </td>
    </tr>
</table>
<div>
    <asp:RequiredFieldValidator ID="valTitle" runat="server" ErrorMessage="제목을 입력하시오"
        ControlToValidate="txtTitle" SetFocusOnError="true" Display="None" ValidationGroup="WriteForm"></asp:RequiredFieldValidator>
    <br />
    <asp:RequiredFieldValidator ID="valContent" runat="server" ErrorMessage="내용을 입력하시오."
        ControlToValidate="txtContent" SetFocusOnError="true" Display="None" ValidationGroup="WriteForm"></asp:RequiredFieldValidator>
    <br />
    <asp:ValidationSummary ID="valSummary" runat="server" ShowMessageBox="true" ShowSummary="false"
        ValidationGroup="WriteForm" />
</div>
 
이전 글   다음 글 삭제 수정 답변 글쓰기 리스트


관련 아티클 리스트
  제       목 파일 작성자 작성일 조회
이전글 이전 10개 / 다음 10개 페이징 처리 메서드 - 레드플러스 2008-07-07 5843
  [!] 일정관리 모듈 : /WebSchedule/Schedule/ - 레드플러스 2008-07-01 8178
  [1] 테이블과 저장 프로시저 : ~/Schedule/Documents/Schedul... - 레드플러스 2008-07-01 4684
현재글 [2] 일정 입력 : ~/Schedule/ScheduleWrite.ascx - 레드플러스 2008-07-01 4649
  ~/Schedule/ScheduleWrite.ascx.cs - 레드플러스 2008-07-01 4055
  [3] 일정 출력 : ~/Schedule/ScheduleList.ascx - 레드플러스 2008-07-02 4119
  ~/Schedule/ScheduleList.ascx.cs - 레드플러스 2008-07-02 4346
  [4] 일정 수정 / 삭제 : ~/Schedule/ScheduleView.ascx - 레드플러스 2008-07-02 4083
  ~/Schedule/ScheduleView.ascx.cs - 레드플러스 2008-07-02 4247
다음글 3계층 프로그래밍 관련 단어 - 레드플러스 2008-06-30 4728
 
손님 사용자 Anonymous (손님)
로그인 Home