<%@ page language="C#" autoeventwireup="true" inherits="SystemManagement_fileTransfer, 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 runat="server">
    <title>文件转移</title>
     <link href="../CssHtml1.css" rel=Stylesheet type="text/css" />
      <style type="text/css"> 
                .mycss   table   tr   td   table   tr   td   span   {   color:red;   } 
        </style>  
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate >
    <div>
        <table cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td style="WIDTH: 60%; HEIGHT: 19px">
                    选择当前类别(<asp:Label ID="lbl_treename" runat="server" Text="" ForeColor="Red"></asp:Label>)中的文件：</td>
                <td style="height: 19px">
                </td>
                <td style="WIDTH: 30%; HEIGHT: 19px">
                    选择文件类别：</td>
            </tr>
            <tr>
                <td style="WIDTH: 60%; HEIGHT: 100%" valign="top">
              
                <div class ="mycss" style ="overflow :auto; height :580px; border-bottom: #3366ff 1px solid; border-left: #3366ff 1px solid; border-top: #3366ff 1px solid; border-right: #3366ff 1px solid;">
                                <asp:GridView ID="GridView1" runat="server" Style="width: 100%; text-align: center;
                                    font-size: 9pt" AllowPaging="True" AutoGenerateColumns="False"
                                    Font-Size="9pt" HeaderStyle-BackColor="InactiveCaption" HeaderStyle-Font-Size="9pt"
                                    HeaderStyle-Font-Bold="true" HeaderStyle-ForeColor="White"  PageSize="25" RowStyle-Font-Bold="false" OnPageIndexChanging="GridView1_PageIndexChanging">
                                    <EmptyDataTemplate>
                                        <table width="100%">
                                            <tr style="font-weight: bold; font-size: 9pt; color: #ffffff; background-color: #1471B0;
                                                border-right: #6699cc 1px solid; border-top: #6699cc 1px solid; border-left: #6699cc 1px solid;
                                                border-bottom: #6699cc 1px solid;">
                                                <td align="center" style="font-weight: bold;  color: white;">
                                                    文件编号
                                                </td>
                                                <td align="center" style="font-weight: bold;  color: white; border-left: white 1px solid;">
                                                    文件名称
                                                </td>
                                                <td align="center" style="font-weight: bold;  color: white; border-left: white 1px solid;">
                                                    版本号
                                                </td>
                                                
                                                <td align="center" style="font-weight: bold;  color: white; border-left: white 1px solid;">
                                                    编制人
                                                </td>
                                                <td align="center" style="font-weight: bold;  color: white; border-left: white 1px solid;">
                                                    文件状态
                                                </td>
                                             
                                            </tr>
                                            <tr>
                                                <td align="center" colspan="3" style="font-weight: normal; ">
                                                    没有数据................................
                                                </td>
                                            </tr>
                                        </table>
                                    </EmptyDataTemplate>
                                    <Columns>
                                        <asp:BoundField DataField="id" HeaderText="id" InsertVisible="False" ReadOnly="True"
                                            SortExpression="id" Visible="False" />
                                        <asp:TemplateField>
                                            <HeaderTemplate>
                                                <asp:CheckBox ID="CheckBox2"  Text ="全选"  runat="server" AutoPostBack="True" OnCheckedChanged="CheckBox2_CheckedChanged" />
                                            </HeaderTemplate>
                                            <ItemTemplate>
                                                <asp:CheckBox ID="chk_id" runat="server"  ValidationGroup='<%# Eval("id") %>'
                                                     />
                                            </ItemTemplate>
                                            <HeaderStyle Wrap="False" />
                                            <ItemStyle Width="5%" Wrap="False" />
                                        </asp:TemplateField>
                                        <asp:BoundField DataField="fileno" HeaderText="文件编号" SortExpression="fileno">
                                            <ItemStyle HorizontalAlign="Left" Width="20%" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="fname" HeaderText="文件名称" SortExpression="fname">
                                            <ItemStyle HorizontalAlign="Left" Width="35%"  />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="version" HeaderText="版本号" SortExpression="version" />
                                        
                                        <asp:TemplateField HeaderText="编制人">
                                            <ItemTemplate>
                                                <asp:Label ID="Label1" runat="server" Text='<%# GetUname(Eval("people")) %>'></asp:Label>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                         <asp:BoundField DataField="filestate" HeaderText="文件状态" SortExpression="filestate" />
                                    </Columns>
                                    <HeaderStyle BackColor="#1471B0" Font-Bold="True" Font-Size="9pt" ForeColor="White" />
                                    <PagerSettings PageButtonCount="30" />
                                    <RowStyle Font-Bold="False" />
                                </asp:GridView>
                                <asp:SqlDataSource ID="SqlDataSource1" runat="server" >
                                  
                                   
                                </asp:SqlDataSource>
                            </div>
               
                </td>
                <td style="width: 10%" align="center">
                    转移至：<br />
                </td>
                <td style="" valign="top">
                 <div style="width :99%; overflow : auto ; height :580px; border-right: #3366ff 1px solid; border-top: #3366ff 1px solid; border-left: #3366ff 1px solid; border-bottom: #3366ff 1px solid;">
                    <asp:TreeView ID="TreeView1" runat="server"  Width="99%" Height="96%" Font-Size="9pt" ShowLines="true" ExpandDepth="3"  >
                        <SelectedNodeStyle Font-Size="9pt"  BackColor="Yellow" />
                       
                    </asp:TreeView>
                    </div>
                </td>
            </tr>
            <tr>
                <td style="HEIGHT: 24px">
                    <asp:Label ID="lbl_state" runat="server" ForeColor="Red"></asp:Label></td>
                <td style="height: 24px">
                    &nbsp;&nbsp;</td>
                <td style=" HEIGHT: 24px" align=right>
                    <asp:Button ID="Button2" runat="server" Text="确 定" OnClick="Button2_Click" />
                    <input id="Button1" type="button" value="退 出" onclick ="window.close();" /></td>
            </tr>
        </table>
    
    </div>
    </ContentTemplate>
        </asp:UpdatePanel>    
    </form>
</body>
</html>
