<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="notice.aspx.cs" Inherits="Web.yw.notice1" %>

<!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>无标题页</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 style ="width :720px; height :34px;  background-image: url('../css/images/atghtj.png');	background-repeat: no-repeat;
                	background-position: left top;"><div id="main-c-03-right02-top">
                	   <!--这里添加页面标题 -->
                      	查看公告
                      	
                	</div></td>
                </tr>
            </table>
            <div id="main-c-03-right02-main">
            
<!--栏目开始 -->
<div runat ="server" id = "table_ListNotice">
            <table style ="width :100%; " border="0" cellpadding="0" cellspacing="0" class="ziti04">
               <tr>
                    <td style ="font-weight:bolder;background-image: url('../css/images/asdfrsg.png'); height :33px; padding-left :20px">
                    <!--这里添加栏目标题 -->
                    公告列表
                    
                     &gt;&gt;</td>
                    <td style ="background-image: url('../css/images/asdfrsg.png'); width :103px"></td>
                    <td style ="background-image: url('../css/images/asdfrsg.png'); width :64px"></td>
                    <td  style ="background-image: url('../css/images/asdfrsg.png'); width :76px" ></td>
                </tr>
                <tr>
                    <td  colspan="4" style="font-weight:bolder; height :10px"></td>
                </tr>
            </table>
            <!--这里添加内容 -->
            <asp:GridView ID="GridView1" runat="server" 
            onrowdatabound="GridView1_RowDataBound" Width="100%" 
                BorderWidth="1px" CssClass="gv" AutoGenerateColumns="False" 
                            onselectedindexchanging="GridView1_SelectedIndexChanging" 
                onrowcreated="GridView1_RowCreated1">
            <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="industry" HeaderText="查阅主管部门" ReadOnly="True" />
                <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 style =" padding-left :5px; text-align :left  ">
                      
                      <asp:Button ID="btManage" runat="server" onclick="btManage_Click" Text="管理公告" 
                          Visible="False" />
                      
                  </td>
                  <td  id ="allowpage" runat ="server" style ="text-align :right ;  padding-right  :5px">
                      &nbsp;</td>
              </tr>
          </table>
</div> 
<!--栏目结束 -->
               
<!--栏目开始 -->
<div runat ="server" id = "table_ViewNotice" visible="False">
                <table style =" width :100%" border="0" cellpadding="0" cellspacing="0" class="ziti04">
                     <tr>
                         <td style ="font-weight:bolder;background-image: url('../css/images/asdfrsg.png'); width :497px; height :33px; padding-left :20px">
                             <!--这里添加栏目标题 -->
                             公告详情 
                             &gt;&gt;</td>
                         <td style ="background-image: url('../css/images/asdfrsg.png'); width :103px"></td>
                         <td style ="background-image: url('../css/images/asdfrsg.png'); width :64px"></td>
                         <td  style ="background-image: url('../css/images/asdfrsg.png'); width :76px" ></td>
                    </tr>
                    <tr>
                         <td  colspan="4" style="font-weight:bolder; height :10px"></td>
                    </tr>
                </table>
                        <!--这里添加内容 -->
                        <table  style =" width :100%" border = "1" class ="table " cellpadding ="0" cellspacing ="0">
                <tr>
                    <td style ="width:80px"  class ="tabletd_right ">
                        发布人：</td>
                    <td class ="tabletd_left ">
        <asp:Label ID="lbNoticemanages" runat="server"></asp:Label>
                        &nbsp;</td>
                    <td style ="width:80px"  class ="tabletd_right ">
                        发布时间：</td>
                    <td class="tabletd_left ">
                        <asp:Label ID="lbNoticedate" runat="server"></asp:Label>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="tabletd_right " style="width:80px">
                        主管部门：</td>
                    <td class="tabletd_left ">
                        <asp:Label ID="lbIndustry" runat="server"></asp:Label>
                        &nbsp;</td>
                    <td class="tabletd_right " style="width:80px">
                        单位：</td>
                    <td class="tabletd_left ">
                        <asp:Label ID="lbDepartment" runat="server"></asp:Label>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="tabletd_right " style="width:80px">
                        公告标题：</td>
                    <td class="tabletd_left " colspan="3">
                        <asp:Label ID="lbNoticetitle" runat="server"></asp:Label>
                        &nbsp;&nbsp;</td>
                </tr>
                <tr>
                    <td class ="tabletd_right " >
                        公告内容：</td>
                    <td class ="tabletd_left " colspan="3">
                        <asp:Label ID="lbNoticecontent" runat="server"></asp:Label>
                        &nbsp;</td>
                </tr>
                                    <tr>
                                <td class="tabletd_right "> 附件：</td>
                        <td class="tabletd_left " colspan="5" >    <asp:BulletedList 
                            ID="BulletedList1" runat="server" DisplayMode="LinkButton" 
                            onclick="BulletedList1_Click">

                        </asp:BulletedList></td>
                            </tr>
                <tr>
                    <td class="tabletd_right ">
                        &nbsp;</td>
                    <td class="tabletd_left " colspan="3">
                        <asp:Button ID="btBack" runat="server" onclick="btBack_Click" Text="返回" />
                    </td>
                </tr>
            </table>
             </div>            
<!--栏目结束 -->
                </div>
            </div>
        </form>
    </body>
</html>

