<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="notice.aspx.cs" Inherits="Web.yw.notice" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>OA标题页</title>
    <link href="../css/css.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="fom" runat="server">
        <div id ="main-c-03-right" >
            <table cellpadding="0"; cellspacing ="0"; style =" width :100%;background-image: url('../css/images/right_top.png'); background-repeat :repeat-x" >
                <tr>
                    <td class  ="main-c-03-right02-top">
                	   <!--这里添加页面标题 -->
                      	通知公告
            </td>
                </tr>
            </table>
            <div id="main-c-03-right02-main">
<!--栏目开始 -->
               <div id ="table_ListNotice" runat ="server" >
            
            <!--这里添加内容 -->
            <asp:GridView ID="GridView1" runat="server" onrowdatabound="GridView1_RowDataBound" Width="100%" 
                BorderWidth="1px" CssClass="gv" AutoGenerateColumns="False" 
                       onselectedindexchanging="GridView1_SelectedIndexChanging" 
                       onrowcreated="GridView1_RowCreated">
                <RowStyle BorderWidth="1px" CssClass="gvrow" />
                <Columns>
                   <asp:BoundField DataField="id" HeaderText="序号" ReadOnly="True" />
                   <asp:TemplateField HeaderText="标题" ShowHeader="False">
                   <ItemTemplate>
                       <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" 
                            CommandName="Select" Text='<%# Bind("noticetitle") %>'></asp:LinkButton>
                   </ItemTemplate>
                   </asp:TemplateField>
                   <asp:BoundField DataField="department" HeaderText="查阅部门" ReadOnly="True" />
                   <asp:BoundField DataField="noticedate" HeaderText="发布时间" ReadOnly="True" />
                   <asp:BoundField DataField="noticemanages" HeaderText="发布人" ReadOnly="True" />
                </Columns>
               <HeaderStyle BorderWidth="1px" CssClass="gvhead" /></asp:GridView>
            <table cellpadding="0" cellspacing="0" style ="width :100%">
                    <tr>
                      <td  id ="allowpage" runat ="server" style ="text-align :right ;  padding-right  :5px">&nbsp;</td>
                    </tr>
               </table>
             </div> 
<!--栏目结束 -->
               
<!--栏目开始 -->
            <table border="0"  class ="tablezong"  cellpadding="0" cellspacing="0" id="table_NoticeView" runat ="server"  visible ="false"  >
      <tr>
        <td   style ="text-align :left ">

            <table  style =" width :700px "    border = "0"  cellpadding ="" cellspacing ="0">
                <tr>
                    <td style =" background-color :White " >
                    <div style = " font-size :large ; font-weight :bold ; text-align :center;width :700px; ; padding :20px 5px 5px 5px  " id = "viewbiaoti" runat ="server" ></div>
                    <div id ="viewneirong" runat ="server"  style ="width :700px; padding :5px 5px 5px 5px"  ></div>
</td>
                </tr>
                <tr>
                    <td  style =" padding :20px 5px 5px 5px" >
                        <asp:Label ID="lbFujian" runat="server" Text="附件："></asp:Label>
                      
                       <asp:BulletedList 
                            ID="BulletedList1" runat="server" DisplayMode="LinkButton" 
                            onclick="BulletedList1_Click">

                        </asp:BulletedList>
                      <div style =" text-align :right ">                         发 布 人:<asp:Label ID="lbNoticemanages" runat="server"></asp:Label>
                        &nbsp;   &nbsp; 
                        发布时间：<asp:Label ID="lbNoticedate" runat="server"></asp:Label>   &nbsp;   &nbsp; 
                        查阅部门：
                        <asp:Label ID="lbDepartment" runat="server"></asp:Label></div> 
                    </td>
                </tr>
                <tr>
                     <td style =" text-align :center; padding:20px 20px 20px 20px " >
                        <asp:Button ID="btBack" runat="server" onclick="btBack_Click" Text="返回" />
                    </td>
                </tr>
            </table>
</td>
      </tr>
    </table>
<!--栏目结束 -->

                </div>
            </div>
        </form>
    </body>
</html>
