<%@ page language="C#" autoeventwireup="true" inherits="SystemManagement_deletedFiles, App_Web_wrcbq7tn" %>
<!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="../CssHtml.css" rel="stylesheet" type="text/css" />
<style type ="text/css"> 
                .mycss   table   tr   td   table   tr   td   span   {   color:red;   } 
        </style>  
    <script src="../getParamter.js" type="text/javascript"></script>

</head>
<body onload="request('b')" style="font-size: 9pt">
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
      
        
        <div>
            <div>
           
                <table style="width: 100%; border-bottom: #1471b0 1px solid;" cellpadding="0" cellspacing="0" >
                    <tr style="border-bottom: #1471b0 1px solid;">
                        <td style=" text-align: left; width :40%">
                            目前位置：系统管理 - 数据维护 - 文件销毁管理</td>
                       
                <td style="width:60%; height: 22px;" align="right">
                  <asp:Label ID="lblstate" runat="server" ForeColor ="Red"  Text=""></asp:Label>
                <asp:ImageButton ID="retrive" runat="server"   ImageUrl="~/Images/retrive.gif" OnClick="retrive_Click" ToolTip ="恢复为正式文件" />
                    <asp:ImageButton ID="del" runat="server"   ImageUrl="~/Images/6_2.gif" OnClick="del_Click"  ToolTip ="永久删除"  OnClientClick ="return confirm('您确信要永久删除文件吗?')"/>
                    <asp:ImageButton ID="toexcel" runat="server" ImageUrl="~/Images/17.gif" OnClick="toexcel_Click" />
                    <a href="../OnlineHelp/OnlineHelp.aspx" target ="_blank" > 
                      <img src="../Images/8.gif" alt ="在线帮助" style="border-top-style: none; border-right-style: none; border-left-style: none; border-bottom-style: none;" /> </a>
                    </td>
               
                    </tr>
                </table>
            </div>
              <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <div class ="mycss"  style ="position :relative ;top:2px;">
            <asp:GridView ID="GridView1" runat="server" Style="width: 100%; text-align: center"
                AutoGenerateColumns="False"   CellPadding="0" RowStyle-BorderColor="#a8c7ce" RowStyle-BorderStyle="Solid" RowStyle-BorderWidth="1px" AlternatingRowStyle-BorderColor="#a8c7ce" AlternatingRowStyle-BorderStyle="Solid" AlternatingRowStyle-BorderWidth="1px" DataSourceID="SqlDataSource1" PageSize="30" EmptyDataText="NO Data" AllowPaging="True" OnPageIndexChanging="GridView1_PageIndexChanging">
                 <EmptyDataTemplate>
                        <table width="100%">
                            <tr style="background-color: #1471b0;height: 17px; font-weight: bold;">
                                <td style="color: white;"  align="center">文件名称
                                </td>
                                <td style="color: white;"  align="center" >文件编号
                                </td>
                               
                                <td style="color: white;"  align="center">编制人
                                </td>
                               
                                <td style="color: white;"  align="center" >创建日期
                                </td>
                                <td style="color: white;"   align="center">销毁日期
                                </td>
                                <td style="color: white;"   align="center">销毁人
                                </td>
                                <td  style="color: white;"  align="center">文件状态
                              
                            </tr>
                            <tr>
                                <td align =center   colspan=7>
                                没有数据....................................................
                                </td>
                                
                            </tr>
                        </table>
                    </EmptyDataTemplate>
                
                
                
                <Columns>
                    <asp:TemplateField HeaderText="id" InsertVisible="False" SortExpression="id" Visible="False">
                        <ItemTemplate>
                            <asp:Label ID="Label1" runat="server" Text='<%# Bind("id") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField>
                        <HeaderTemplate>
                            <asp:CheckBox ID="CheckBox2" runat="server" Text ="全选" AutoPostBack="True" OnCheckedChanged="CheckBox2_CheckedChanged" />&nbsp;
                        </HeaderTemplate>
                        <ItemTemplate>
                            <asp:CheckBox ID="CheckBox1" runat="server" AutoPostBack="True"  ValidationGroup='<%# Eval("id") %>'
                                OnCheckedChanged="CheckBox1_CheckedChanged" />
                        </ItemTemplate>
                    </asp:TemplateField>
                   <asp:BoundField DataField="senderId" HeaderText="senderId" SortExpression="senderId"
                        Visible="False" />
                    <asp:BoundField DataField="fileno" HeaderText="文件编号" SortExpression="fileno" />
                    <asp:TemplateField HeaderText="文件名称" SortExpression="fname" >
                        <ItemTemplate>
                           
                                 <a href ='../Document/openDoc.aspx?from=vtfile&id=<%# Eval("id")%>&map=fileapp' style =" color :Blue ;"   target =_blank><asp:Label runat=server  id ="mm"  Text ='<%# Eval("fname") %>'></asp:Label> </a>
                        </ItemTemplate>
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:TemplateField>
                   
                   
                    <asp:BoundField DataField="people" HeaderText="编制人" SortExpression="people"/>
                         
                   
                    <asp:BoundField DataField="cdate" HeaderText="创建日期" SortExpression="cdate"  DataFormatString="{0:yyyy-MM-dd}" />
                     <asp:TemplateField HeaderText="销毁日期" SortExpression="">
                        <ItemTemplate>
                           <asp:Label ID="lbl_delDate" ToolTip ="" runat="server" Text='<%#  Eval("delDate") %>'></asp:Label>
                        
                        </ItemTemplate>
                    </asp:TemplateField>
                     <asp:TemplateField HeaderText="销毁人" SortExpression="">
                        <ItemTemplate>
                           <asp:Label ID="lbl_delPeople" ToolTip ="" runat="server" Text='<%# getDelPeople( Eval("fileno")) %>'></asp:Label>
                        
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="filestate" HeaderText="文件状态" SortExpression="filestate" />
                </Columns>
                <RowStyle BorderColor="#A8C7CE" BorderStyle="Solid" BorderWidth="1px" />
                <HeaderStyle BackColor="#1471B0" Font-Size="9pt" ForeColor="White" />
                <AlternatingRowStyle BorderColor="#A8C7CE" BorderStyle="Solid" BorderWidth="1px" />
            </asp:GridView>
            </div>
            <div style="text-align: center; margin-top: 20px">
                <asp:SqlDataSource ID="SqlDataSource1" runat="server"></asp:SqlDataSource>
            <input type="text" id="pdcs" style="display:none" runat="server" />
              
            </div>
            <div>
                <asp:Label ID="lbl_state" runat="server" Style="color: Red; font-weight: bold"></asp:Label></div> 
                </ContentTemplate>
        </asp:UpdatePanel>
        </div>
   
    </form>
</body>
</html>
