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

📄 filesearch.aspx

📁 办公系统办公系统办公系统办公系统办公系统办公系统办公系统办公系统办公系统办公系统办公系统办公系统办公系统办公系统办公系统
💻 ASPX
字号:
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="FileSearch.aspx.cs" Inherits="File_FileSearch" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:UpdatePanel id="UpdatePanel1" runat="server">
        <contenttemplate>
<TABLE width="98%" border=0><TBODY><TR><TD style="TEXT-ALIGN: center"><SPAN style="FONT-SIZE: 12pt"><STRONG>文 件 搜 索</STRONG></SPAN></TD></TR><TR><TD style="TEXT-ALIGN: center">
<HR />
</TD></TR><TR><TD style="HEIGHT: 505px" vAlign=top><DIV style="BORDER-RIGHT: #00ccff thin solid; BORDER-TOP: #00ccff thin solid; FLOAT: left; BORDER-LEFT: #00ccff thin solid; WIDTH: 173px; BORDER-BOTTOM: #00ccff thin solid"><TABLE width="98%" align=left border=0><TBODY><TR><TD></TD></TR><TR><TD><asp:Image id="Image1" runat="server" ImageUrl="~/Images/search2.gif"></asp:Image>文件搜索</TD></TR><TR><TD></TD></TR><TR><TD>要搜索的文件名:</TD></TR><TR><TD><asp:TextBox id="txtFileName" runat="server"></asp:TextBox></TD></TR><TR><TD></TD></TR><TR><TD>附件包函的文字:</TD></TR><TR><TD><asp:TextBox id="txtAccessory" runat="server"></asp:TextBox></TD></TR><TR><TD></TD></TR><TR><TD>创建者姓名:</TD></TR><TR><TD style="HEIGHT: 26px"><asp:TextBox id="txtCreateName" runat="server"></asp:TextBox></TD></TR><TR><TD></TD></TR><TR><TD>&nbsp;&nbsp; <asp:ImageButton id="ImageButton1" onclick="ImageButton1_Click" runat="server" ImageUrl="~/Images/file/bseach.gif"></asp:ImageButton> &nbsp; &nbsp; &nbsp;<asp:ImageButton id="ImageButton2" onclick="ImageButton2_Click" runat="server" ImageUrl="~/Images/file/exit.gif"></asp:ImageButton></TD></TR></TBODY></TABLE><BR /><BR /><BR /><BR /><BR /><BR /><BR /><BR /><BR /><BR /><BR />&nbsp; <asp:Button id="btnFind" onclick="btnFind_Click" runat="server" Text="搜索选项:>>" BorderStyle="None"></asp:Button> <BR /><BR /><DIV style="WIDTH: 170px; HEIGHT: 95px" id="DIV1" runat="server">介于:<asp:TextBox id="txtStartTime" runat="server" Width="119px"></asp:TextBox><BR />--------<asp:TextBox id="txtEndTime" runat="server" Width="120px"></asp:TextBox><BR /><BR /><asp:RadioButton id="RadioButton1" runat="server" Text="本日" GroupName="condition"></asp:RadioButton> <asp:RadioButton id="RadioButton2" runat="server" Text="本周" GroupName="condition"></asp:RadioButton> <asp:RadioButton id="RadioButton3" runat="server" Text="本月" GroupName="condition"></asp:RadioButton></DIV></DIV><DIV style="WIDTH: 620px; HEIGHT: 153px" id="DIV2" runat="server"><TABLE width="98%" border=0><TBODY><TR><TD>文件名:<asp:Label id="lblFileName" runat="server" Text="Label"></asp:Label></TD></TR><TR><TD>文件路径:<asp:Label id="lblFilePath" runat="server" Text="Label"></asp:Label></TD></TR><TR><TD>备注:<asp:TextBox id="txtRemark" runat="server" Width="349px" TextMode="MultiLine" Height="51px"></asp:TextBox></TD></TR><TR><TD>创建时间:<asp:Label id="lblCreateTime" runat="server" Text="Label"></asp:Label> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 创建者:<asp:Label id="lblCreateUser" runat="server" Text="Label"></asp:Label></TD></TR><TR><TD style="height: 41px">
<HR color=blue />
</TD></TR></TBODY></TABLE></DIV>

<DIV id="DIV3" align=center runat="server">
<asp:GridView id="GridView1" runat="server" Width="76%" AutoGenerateColumns="False" 
 OnRowCommand="GridView1_RowCommand" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3" OnPageIndexChanging="GridView1_PageIndexChanging" OnRowDataBound="GridView1_RowDataBound">
                        <Columns>
                            <asp:TemplateField HeaderText="文件名称">
                                <ItemTemplate>
                                    <asp:LinkButton ID="LinkButton1" runat="server" CommandName="showFile" CommandArgument='<%# Eval("FileId") %>' Text='<%# Eval("FileName") %>'></asp:LinkButton>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField DataField="FilePath" HeaderText="所在文件夹" />
                            <asp:TemplateField HeaderText="类型">
                                <ItemTemplate>
                                    <asp:Image ID="Image1" runat="server" ImageUrl='<%# Eval("FileType.FileTypeImage") %>' />
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField DataField="FileOwner" HeaderText="所有者" />
                            <asp:BoundField DataField="CreateDate" HeaderText="创建时间" />
                        </Columns>
    <FooterStyle BackColor="White" ForeColor="#000066" />
    <RowStyle ForeColor="#000066" />
    <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
    <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
    <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
                    </asp:GridView> &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</DIV></TD></TR></TBODY></TABLE>
</contenttemplate>
    </asp:UpdatePanel>
</asp:Content>

⌨️ 快捷键说明

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