<%@ Page Language="C#" MasterPageFile="~/ListMasterPage.master" AutoEventWireup="true" CodeFile="Notice.aspx.cs" Inherits="Notice" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:DataList ID="DataList1" runat="server" DataSourceID="SqlDataSource1" CellPadding="4" ForeColor="#333333">
    <ItemTemplate>
        <h1 ><%# Eval("title") %></h1> <br />
        <%# Eval("pubdate") %><br />        
        <%# Eval("contents") %>
    </ItemTemplate>
        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <SelectedItemStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
        <AlternatingItemStyle BackColor="White" ForeColor="#284775" />
        <ItemStyle BackColor="#F7F6F3" ForeColor="#333333" />
        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
    </asp:DataList>
    &nbsp;<asp:SqlDataSource ID="SqlDataSource1" runat="server"
        ConnectionString="<%$ ConnectionStrings:DesertEagleConnectionString %>"
        OldValuesParameterFormatString="original_{0}" SelectCommand="SELECT * FROM [DE_notice] WHERE ([notice_id] = @notice_id)">
        <SelectParameters>
            <asp:QueryStringParameter Name="notice_id" QueryStringField="notice_id" Type="Int32" />
        </SelectParameters>
    </asp:SqlDataSource>
</asp:Content>