<%@ Page language="c#" Codebehind="List.aspx.cs" AutoEventWireup="false" Inherits="SampleCS.Upload.List" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>List</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="List" method="post" runat="server">
<h3>자료실 게시판</h3>
<FONT face="굴림">
<P><FONT style="FONT-SIZE: 9pt; COLOR: #ff0000">글 목록 - 자료실 게시판입니다. 자료를 다운로드 받으실 수
있습니다.</FONT>
<HR width="100%" SIZE="1">
<P align="center">
</FONT>
<asp:datagrid id="DataGrid1" runat="server" BorderColor="#3366CC" BorderWidth="1px" BackColor="White"
CellPadding="4" AllowPaging="True" PageSize="5" BorderStyle="None" AutoGenerateColumns="False">
<SelectedItemStyle Font-Bold="True" ForeColor="#CCFF99" BackColor="#009999"></SelectedItemStyle>
<ItemStyle ForeColor="#003399" BackColor="White"></ItemStyle>
<HeaderStyle Font-Bold="True" ForeColor="#CCCCFF" BackColor="#003399"></HeaderStyle>
<FooterStyle ForeColor="#003399" BackColor="#99CCCC"></FooterStyle>
<Columns>
<asp:HyperLinkColumn DataNavigateUrlField="Num" DataNavigateUrlFormatString="View.aspx?Num={0}" DataTextField="Title"
HeaderText="제목">
<HeaderStyle Width="350px"></HeaderStyle>
<ItemStyle HorizontalAlign="Left"></ItemStyle>
</asp:HyperLinkColumn>
<asp:BoundColumn DataField="Name" HeaderText="작성자">
<HeaderStyle Width="70px"></HeaderStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="PostDate" HeaderText="작성일" DataFormatString="{0:yyyy-MM-dd (tt hh:mm)}">
<HeaderStyle Width="130px"></HeaderStyle>
</asp:BoundColumn>
<asp:HyperLinkColumn DataNavigateUrlField="FileName" DataNavigateUrlFormatString="Down.aspx?FileName={0}"
Text="<img src='/Web/images/ext_zip.gif' border='0'>" HeaderText="파일" Width="30">
<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:HyperLinkColumn>
<asp:BoundColumn DataField="ReadCount" HeaderText="읽음">
<HeaderStyle Width="50px"></HeaderStyle>
</asp:BoundColumn>
</Columns>
<PagerStyle HorizontalAlign="Right" ForeColor="#003399" BackColor="#99CCCC" Mode="NumericPages"></PagerStyle>
</asp:datagrid></P>
<P align="center"><FONT face="굴림"> </FONT>
<asp:dropdownlist id="SearchField" runat="server">
<asp:ListItem Value="Name">이름</asp:ListItem>
<asp:ListItem Value="Title">제목</asp:ListItem>
<asp:ListItem Value="Content">내용</asp:ListItem>
</asp:dropdownlist>
<asp:textbox id="SearchQuery" runat="server" BorderWidth="1px" BorderStyle="Solid" Width="200px"
Height="21px"></asp:textbox>
<asp:button id="btnSearch" runat="server" BorderWidth="1px" BorderStyle="Solid" Text="검 색"></asp:button></P>
<P align="center"><asp:button id="btnWrite" runat="server" BorderColor="#404040" BorderWidth="1px" BorderStyle="Groove"
Text="글쓰기" CausesValidation="False"></asp:button></P>
<P align="center"><asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" ErrorMessage="검색할 단어를 입력하세요." Display="None"
ControlToValidate="SearchField"></asp:requiredfieldvalidator></P>
<P align="center"><asp:validationsummary id="ValidationSummary1" runat="server" ShowMessageBox="True" ShowSummary="False"></asp:validationsummary></P>
<P><FONT face="굴림"></FONT> </P>
</FONT></FONT></form>
</body>
</HTML>