⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 filesearch.aspx

📁 人事管理系统
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="FileSearch.aspx.cs" Inherits="File_FileSearch" %>

<!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="../../css/childrenMainDivCss.css" rel="stylesheet" type="text/css" />
    <link href="../../css/StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
        <div id="page">
            <table>
                <tr>
                    <td>
                        <asp:Panel ID="pnlSearch" runat="server" BorderColor="#6DC7FC" BorderWidth="1">
                            <div style="width: 100%; padding-top: 11px; height: 22px; text-align: left">
                                <asp:Image ID="img1" runat="server" ImageUrl="~/images/search2.gif" />文件搜索
                            </div>
                            <div style="width: 100%; padding-top: 20px; height: 40px; text-align: left">
                                要搜索的文件名:<br />
                                <asp:TextBox ID="txtFileName" runat="server"></asp:TextBox>
                            </div>
                            <div style="width: 100%; padding-top: 20px; height: 40px; text-align: left">
                                附件包含的文字:<br />
                                <asp:TextBox ID="txtContainWords" runat="server"></asp:TextBox>
                            </div>
                            <div style="width: 100%; padding-top: 20px; height: 40px; text-align: left">
                                创建者姓名:<br />
                                <asp:TextBox ID="txtCreateUser" runat="server"></asp:TextBox>
                            </div>
                            <div style="width: 100%; padding-top: 20px; height: 40px; text-align: left">
                                <asp:ImageButton ID="imgbtnSearch" runat="server" Height="20" ImageUrl="~/images/file/bseach.gif"
                                    Width="64" />
                                <asp:ImageButton ID="imgbtnExit" runat="server" Height="20" ImageUrl="~/images/file/exit.gif"
                                    Width="40" />
                            </div>
                            <div style="width: 100%; padding-top: 11px; height: 22px; text-align: left">
                                <asp:LinkButton ID="lnkbtnOption" runat="server" Text="搜索选项 <<"></asp:LinkButton>
                                <asp:Panel ID="pnlOption" runat="server" BorderColor="gray" BorderWidth="1" Visible="false">
                                    介于:<asp:TextBox ID="txtBeginTime" runat="server" CssClass="inputCss" onfocus="new WdatePicker(this,'%Y-%M-%D',true,'default')"
                                        Width="109px"></asp:TextBox><br />
                                    -------<asp:TextBox ID="txtEndTime" runat="server" CssClass="inputCss" onfocus="new WdatePicker(this,'%Y-%M-%D',true,'default')"
                                        Width="108px"></asp:TextBox>
                                    <asp:CompareValidator ID="cvTime" runat="server" ControlToCompare="txtBeginTime"
                                        ControlToValidate="txtEndTime" Display="Dynamic" ErrorMessage="结束时间不应小于开始时间"
                                        Operator="GreaterThanEqual"></asp:CompareValidator>
                                    <br />
                                    <asp:RadioButton ID="rdoThisDay" runat="server" GroupName="quickdate" onclick="quickseldate('day');"
                                        Text="本日" />
                                    <asp:RadioButton ID="rdoThisWeek" runat="server" GroupName="quickdate" onclick="quickseldate('week');"
                                        Text="本周" />
                                    <asp:RadioButton ID="rdoThisMonth" runat="server" GroupName="quickdate" onclick="quickseldate('month');"
                                        Text="本月" />
                                </asp:Panel>
                            </div>
                        </asp:Panel>
                    </td>
                    <td style="width:10px"></td>
                    <td>
                        <asp:GridView ID="gvFilesInfo" runat="server" AutoGenerateColumns="False" BorderColor="#66CCFF"
                            BorderWidth="1px" CellPadding="4" DataKeyNames="fileid" Width="100%">
                            <Columns>
                                <asp:TemplateField HeaderText="文件名称">
                                    <ItemTemplate>
                                        <asp:LinkButton ID="lnkbtnFileName" runat="server" CommandName="detail"></asp:LinkButton>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:BoundField DataField="fileid" HeaderText="所在文件夹" />
                                <asp:TemplateField HeaderText="类型 ">
                                    <ItemTemplate>
                                        <asp:Image ID="imgFileType" runat="server" Height="16px" Width="16px" />
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:BoundField DataField="fileid" HeaderText="所有者" />
                                <asp:BoundField DataField="fileid" HeaderText="创建日期" />
                            </Columns>
                        </asp:GridView>
                        <asp:Panel ID="pnlFileDetail" runat="server" Visible="false" Width="100%">
                            <div style="width: 100%; text-align: left">
                                文件名:<asp:Label ID="lblFileName" runat="server" Width="187px"></asp:Label><br />
                                <br />
                                文件路径:<asp:Label ID="lblFilePath" runat="server" Width="338px"></asp:Label><br />
                                <br />
                                备注:<asp:TextBox ID="txtRemark" runat="server" CssClass="textArea" Height="41px" TextMode="MultiLine"
                                    Width="435px"></asp:TextBox><br />
                                <br />
                                创建时间:<asp:Label ID="lblCreateDate" runat="server" Width="108px"></asp:Label>
                                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                &nbsp; &nbsp; 创建者:<asp:Label ID="lblFileOwner" runat="server" Width="124px"></asp:Label>
                            </div>
                            <hr id="HR1" color="#0000ff" size="1" width="100%" />
                            <asp:GridView ID="gvAccessoryFileInfo" runat="server" AutoGenerateColumns="False"
                                BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" DataKeyNames="accessoryid"
                                PageSize="5" Width="99%">
                                <FooterStyle BackColor="#F7DFB5" ForeColor="#000066" />
                                <RowStyle HorizontalAlign="Center" />
                                <SelectedRowStyle ForeColor="White" />
                                <PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" />
                                <HeaderStyle BackColor="#66CCFF" HorizontalAlign="Center" />
                                <Columns>
                                    <asp:TemplateField HeaderText="名称">
                                        <ItemTemplate>
                                            <asp:Label ID="lblLinkAccessoryName" runat="server"></asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:BoundField DataField="AccessorySize" HeaderText="大小(KB)" />
                                    <asp:BoundField DataField="AccessoryType" HeaderText="类型" />
                                    <asp:BoundField DataField="createdate" HeaderText="创建日期" />
                                </Columns>
                            </asp:GridView>
                        </asp:Panel>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -