<%@ page language="C#" autoeventwireup="true" inherits="SystemManagement_FileRight, App_Web_rddppaaw" %>

<!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="../CssHtml.css" rel="stylesheet" type="text/css" />
</head>
<body style="font-size: 9pt">
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
    <div style="width: 588px; height: 511px">
        <table width="100%" >
            <tr>
                <td style="font-weight: bold; font-size: 9pt;width:100%;  height: 12px;background-image: url(../Images/fbg.PNG);">
                    选择用户</td>
            </tr>
            <tr>
                <td>
                    <div style="width: 582px; height: 351px; overflow: auto;">
                    <asp:DataList ID="DataList1" runat="server" RepeatColumns="2" 
                        Width="100%" CellPadding="0" OnItemDataBound="DataList1_ItemDataBound1" >
                        
                        <ItemTemplate>
                            <table class="tbClass" cellpadding="0" cellspacing="0" style="width: 100%">
                                <tr>
                                    <td style=" text-align :left; width: 51px;">
                                       
                                        <asp:CheckBox ID="CheckBox1" runat="server"  ToolTip ='<%#DataBinder.Eval(Container.DataItem,"loginid")%>' OnCheckedChanged="CheckBox1_CheckedChanged" AutoPostBack="True" Width="46px"/>
                                    
                                    </td >
                                    <td style=" text-align: left;width: 100px; "><%#DataBinder.Eval(Container.DataItem,"uname")%>
                                    </td>
                                    <td style=" text-align: left; "> 
                                              <%#DataBinder.Eval(Container.DataItem,"dept")%>   
                                    </td>
                                </tr>
                               
                            </table>
                        </ItemTemplate>
                        <SelectedItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" />
                        <HeaderTemplate>
                            <table style="width: 100%" cellpadding="0" cellspacing="0">
                                <tr style="font-weight: bold; font-size: 9pt; color: #ffffff; background-color: #1471B0;
                                               border-top: #6699cc 1px solid; border-left: #6699cc 1px solid;
                                                border-bottom: #6699cc 1px solid;">
                                    <td style="color: white;width: 51px;">
                                        选择</td>
                                    <td style="color: white; border-left: white 1px solid;width: 100px; ">
                                        用户名称</td>
                                    <td style="color: white; border-left: white 1px solid;">
                                        用户部门</td>
                                        <td style="color: white; border-left: white 1px solid;width: 51px;">
                                        选择</td>
                                    <td style="color: white; border-left: white 1px solid;width: 100px; ">
                                        用户名称</td>
                                    <td style="color: white; border-left: white 1px solid;">
                                        用户部门</td>
                                </tr>
                            </table>
                        </HeaderTemplate>
                    </asp:DataList>
                    
                    </div>
                    <asp:SqlDataSource ID="SqlDataSource1" runat="server"></asp:SqlDataSource>
                </td>
            </tr>
            <tr>
                <td>
                被禁查看文件（文件编号：<%= fileno  %>）用户：<br />
                    <asp:TextBox ID="txt_userlist" runat="server" Height="53px" TextMode="MultiLine"
                        Width="575px" ReadOnly="True"></asp:TextBox></td>
            </tr>
            <tr>
                <td align =right>
                    <asp:Label ID="Label1" runat="server" ForeColor="Red"></asp:Label>
              <asp:Button ID="btn_submit" runat="server" Text="确 定" OnClick="btn_submit_Click" />
        <input id="Button1" type="button" onclick ="window.close();" value="关 闭" />
                   </td>
            </tr>
        </table>
        </div>
        </ContentTemplate>
        </asp:UpdatePanel>
    </form>
</body>
</html>
