
<%@ page autoeventwireup="false" inherits="WebExam.Web.newslist, App_Web_nzui2w1c" language="vb" masterpagefile="~/Page.master" title="新闻公告" %>

<%@ OutputCache Duration="30" VaryByParam="none" %>
<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="mainCopy">

<table cellpadding="0" cellspacing="0">
        <tr>
            <td>
                <h2 style="text-align: center; padding-top:0; margin-top:0; margin-bottom:0">
                    新闻公告</h2>
            </td>
        </tr>
        <tr>
            <td>
                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="4"
                    ForeColor="#333333" GridLines="None" DataKeyNames="id">
                    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <RowStyle BackColor="#EFF3FB" />
                    <Columns>
                        <asp:BoundField DataField="id" Visible="False" />
                        <asp:BoundField DataField="topic" HeaderText="标题" />
                        <asp:BoundField DataField="adm" HeaderText="发布者" />
                        <asp:BoundField DataField="updateTime" DataFormatString="{0:yyyy-MM-dd}" HeaderText="发布时间"
                ReadOnly="True"></asp:BoundField>
                        <asp:HyperLinkField Text="打开" DataNavigateUrlFields="path,defaultFile" 
                            DataNavigateUrlFormatString="{0}{1}" Target ="_blank"  />
                    </Columns>
                    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                    <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <EditRowStyle BackColor="#2461BF" />
                    <AlternatingRowStyle BackColor="White" />
                </asp:GridView>
                <pagers:PageNumbersPager ID="PageNumbersPager1" runat="server" />
            </td>
        </tr>
    </table>
    
</asp:Content>
	
	
