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

📄 filesearch.aspx

📁 专业的办公oa代码下载 c#语言编写 三层结构
💻 ASPX
字号:
<%@ Page language="c#" Codebehind="FileSearch.aspx.cs" AutoEventWireup="false" Inherits="qminoa.Webs.FM.FileSearch" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title></title>
		<meta content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">
		<meta content="Visual Basic 7.0" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<LINK href="../lynn.css" type="text/css" rel="stylesheet">
	</HEAD>
	<body bottomMargin="0" leftMargin="20" topMargin="0" rightMargin="20" MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<TABLE align="center" style="WIDTH: 95%; POSITION: absolute; HEIGHT: 100%" cellSpacing="0" cellPadding="0" width="100%" border="0">
				<TR>
					<TD style="WIDTH: 100%; HEIGHT: 10px" vAlign="top" noWrap align="left"><FONT face="宋体"></FONT></TD>
				</TR>
				<TR>
					<TD vAlign="top" noWrap align="middle">
						<P>
							<asp:label id="lblID" runat="server" Visible="False" Font-Size="X-Small"></asp:label><asp:label id="lblFID" runat="server" Visible="False" Font-Size="X-Small"></asp:label><asp:label id="lblBID" runat="server" Visible="False" Font-Size="X-Small"></asp:label></P>
						<P>
							<TABLE id="Table1" style="HEIGHT: 17px" cellSpacing="0" cellPadding="1" width="100%" bgColor="black" border="0">
								<TR>
									<TD><FONT face="宋体">
											<TABLE class="boxform" id="Table8" style="HEIGHT: 100%" cellSpacing="0" cellPadding="0" width="100%" bgColor="white" border="0">
												<TR>
													<TD vAlign="top" noWrap align="left">
														<TABLE class="headcenter" id="Table2" style="WIDTH: 100%; HEIGHT: 10px">
															<TR>
																<TD align="left">
																	<asp:image id="Image1" runat="server" ImageUrl="img/search.gif" ImageAlign="AbsBottom"></asp:image>网络文件搜索
																</TD>
																<TD class="uname" align="right">
																	<asp:imagebutton id="cmdClose" runat="server" ImageUrl="img/button/closewin.gif" ImageAlign="AbsBottom" ToolTip="关闭"></asp:imagebutton></TD>
															</TR>
														</TABLE>
														<TABLE id="Table3" style="HEIGHT: 100%" cellSpacing="0" cellPadding="0" width="100%" border="0">
															<TR>
																<TD style="WIDTH: 184px" vAlign="top" noWrap><FONT face="宋体">
																		<TABLE id="Table4" borderColor="silver" cellSpacing="0" cellPadding="0" width="100%" bgColor="#d4d0c8" border="1">
																			<TR>
																				<TD class="td" noWrap>搜索
																				</TD>
																				<TD noWrap align="right">
																					<asp:imagebutton id="cmdCloseSeach" runat="server" ImageUrl="img/button/closewin1.gif" ImageAlign="AbsBottom" ToolTip="关闭"></asp:imagebutton></TD>
																			</TR>
																		</TABLE>
																		<DIV id="div1" style="WIDTH: 100%; POSITION: relative; HEIGHT: 255px" runat="server" ms_positioning="GridLayout">
																			<asp:label id="Label1" style="Z-INDEX: 101; LEFT: 4px; POSITION: absolute; TOP: 0px" runat="server" CssClass="td" Height="22px" Font-Size="X-Small">要搜索的文件名</asp:label>
																			<asp:textbox id="txtKeyword" style="Z-INDEX: 106; LEFT: 5px; POSITION: absolute; TOP: 71px" runat="server" Width="172px"></asp:textbox>
																			<asp:textbox id="txtFileFolder" style="Z-INDEX: 105; LEFT: 4px; POSITION: absolute; TOP: 23px" runat="server" Width="172px"></asp:textbox>
																			<asp:imagebutton id="imgSearch" style="Z-INDEX: 103; LEFT: 3px; POSITION: absolute; TOP: 200px" runat="server" ImageUrl="img/button/bseach.gif"></asp:imagebutton>
																			<asp:label id="Label2" style="Z-INDEX: 102; LEFT: 4px; POSITION: absolute; TOP: 49px" runat="server" CssClass="td" Height="22" Font-Size="X-Small">文件中关键字</asp:label>
																			<asp:imagebutton id="cmdExit" style="Z-INDEX: 104; LEFT: 76px; POSITION: absolute; TOP: 200px" runat="server" ImageUrl="img/button/exit.gif"></asp:imagebutton>
																			<asp:linkbutton id="cmdOption" style="Z-INDEX: 107; LEFT: 4px; POSITION: absolute; TOP: 226px" runat="server" CssClass="td" Width="100%" Font-Size="X-Small">搜索选项 >></asp:linkbutton>
																			<asp:textbox id="txtOwner" style="Z-INDEX: 108; LEFT: 4px; POSITION: absolute; TOP: 167px" runat="server" Width="172px"></asp:textbox>
																			<asp:label id="Label4" style="Z-INDEX: 109; LEFT: 5px; POSITION: absolute; TOP: 142px" runat="server" CssClass="td" Font-Size="X-Small">所有者姓名/帐号</asp:label>
																			<HR style="Z-INDEX: 110; LEFT: 2px; WIDTH: 96.98%; POSITION: absolute; TOP: 251px; HEIGHT: 1px" width="96.98%" SIZE="1">
																			<asp:label id="Label3" style="Z-INDEX: 111; LEFT: 5px; POSITION: absolute; TOP: 95px" runat="server" CssClass="td" Font-Size="X-Small">附件包含文字</asp:label>
																			<asp:textbox id="txtContent" style="Z-INDEX: 112; LEFT: 4px; POSITION: absolute; TOP: 118px" runat="server" Width="172px"></asp:textbox>
																			<asp:label id="Label5" style="Z-INDEX: 113; LEFT: 84px; POSITION: absolute; TOP: 96px" runat="server" CssClass="td" Font-Bold="True" Font-Size="X-Small">(<img src="img/button/fullseach.gif" align="absbottom">全文检索)</asp:label></DIV>
																	</FONT>
																	<TABLE id="Table5" cellSpacing="0" cellPadding="0" width="100%" border="0">
																		<TR>
																			<TD noWrap>
																				<asp:checkbox id="chkDate" runat="server" CssClass="td" Height="12px" Width="52px" Visible="False" AutoPostBack="True" Text="日期" Font-Size="X-Small"></asp:checkbox></TD>
																		</TR>
																	</TABLE>
																	<DIV language="C#" class="box" id="divDate" dataFormatAs="" style="WIDTH: 100%; POSITION: relative; HEIGHT: 146px" runat="server" ms_positioning="GridLayout" Visible="False">
																		<asp:radiobutton id="rdoMonth" style="Z-INDEX: 101; LEFT: 0px; POSITION: absolute; TOP: 32px" runat="server" CssClass="td" AutoPostBack="True" Text="前" GroupName="Date" Font-Size="X-Small"></asp:radiobutton>
																		<asp:label id="Label12" style="Z-INDEX: 110; LEFT: 154px; POSITION: absolute; TOP: 64px" runat="server" Font-Size="X-Small">天</asp:label>
																		<asp:label id="lblMaxDate" style="Z-INDEX: 108; LEFT: 32px; POSITION: absolute; TOP: 116px" runat="server" CssClass="td" Font-Size="X-Small">和</asp:label>
																		<asp:radiobutton id="rdoDay" style="Z-INDEX: 102; LEFT: 0px; POSITION: absolute; TOP: 61px" runat="server" CssClass="td" AutoPostBack="True" Text="前" GroupName="Date" Font-Size="X-Small"></asp:radiobutton>
																		<asp:textbox id="txtMaxDate" style="Z-INDEX: 103; LEFT: 52px; POSITION: absolute; TOP: 116px" runat="server" Width="108px"></asp:textbox>
																		<asp:textbox id="txtMinDate" style="Z-INDEX: 104; LEFT: 52px; POSITION: absolute; TOP: 88px" runat="server" Width="108px"></asp:textbox>
																		<asp:textbox id="txtMonth" style="Z-INDEX: 105; LEFT: 40px; POSITION: absolute; TOP: 31px" runat="server" Height="22px" Width="105px" Enabled="False">1</asp:textbox>
																		<asp:textbox id="txtDay" style="Z-INDEX: 107; LEFT: 38px; POSITION: absolute; TOP: 58px" runat="server" Width="108px" Enabled="False">1</asp:textbox>
																		<asp:radiobutton id="rdoBetween" style="Z-INDEX: 106; LEFT: 1px; POSITION: absolute; TOP: 87px" runat="server" CssClass="td" AutoPostBack="True" Text="介于" GroupName="Date" Checked="True" Font-Size="X-Small"></asp:radiobutton>
																		<asp:label id="Label11" style="Z-INDEX: 109; LEFT: 148px; POSITION: absolute; TOP: 37px" runat="server" Font-Size="X-Small">个月</asp:label>
																		<asp:dropdownlist id="dropDate" style="Z-INDEX: 111; LEFT: 16px; POSITION: absolute; TOP: 4px" runat="server" Height="23px" Width="148px" DataTextField="name" DataValueField="folderid">
																			<asp:ListItem Value="0">创建的文件</asp:ListItem>
																			<asp:ListItem Value="1">修改过的文件</asp:ListItem>
																		</asp:dropdownlist></DIV>
																	<TABLE id="Table6" cellSpacing="0" cellPadding="0" width="100%" border="0">
																		<TR>
																			<TD noWrap>
																				<asp:checkbox id="chkType" runat="server" CssClass="td" Height="22px" Width="57px" Visible="False" AutoPostBack="True" Text="类型" Font-Size="X-Small"></asp:checkbox></TD>
																		</TR>
																	</TABLE>
																	<DIV class="box" id="divType" style="WIDTH: 100%; POSITION: relative; HEIGHT: 34px" runat="server" ms_positioning="GridLayout" Visible="False">
																		<asp:dropdownlist id="dropType" style="Z-INDEX: 101; LEFT: 17px; POSITION: absolute; TOP: 6px" runat="server" Height="23px" Width="146px" AutoPostBack="True" DataTextField="name" DataValueField="type"></asp:dropdownlist></DIV>
																</TD>
																<TD class="" vAlign="top" noWrap><FONT face="宋体">
																		<TABLE class="box" id="Table7" height="100%" cellSpacing="1" cellPadding="1" width="100%" border="1">
																			<TR>
																				<TD vAlign="top" noWrap>
																					<asp:datagrid id="dgdFolder" runat="server" CssClass="table" Width="100%" BorderWidth="1px" AutoGenerateColumns="False" AllowSorting="True" BorderColor="#F7F7F7" BackColor="#F7F7F7" CellPadding="2" GridLines="None" ForeColor="Black" BorderStyle="Solid">
																						<SelectedItemStyle BackColor="Transparent"></SelectedItemStyle>
																						<EditItemStyle ForeColor="Black" BackColor="Black"></EditItemStyle>
																						<AlternatingItemStyle BorderColor="White" BackColor="White"></AlternatingItemStyle>
																						<ItemStyle CssClass="textcenter" BackColor="#DEDFDE"></ItemStyle>
																						<HeaderStyle CssClass="headcenter"></HeaderStyle>
																						<FooterStyle CssClass="headcenter"></FooterStyle>
																						<Columns>
																							<asp:BoundColumn Visible="False" DataField="folderid" HeaderText="DocID"></asp:BoundColumn>
																							<asp:BoundColumn Visible="False" DataField="hifolderid" HeaderText="folderid"></asp:BoundColumn>
																							<asp:BoundColumn DataField="name" SortExpression="name" HeaderText="名称">
																								<HeaderStyle Wrap="False"></HeaderStyle>
																								<ItemStyle Wrap="False" VerticalAlign="Top"></ItemStyle>
																							</asp:BoundColumn>
																							<asp:BoundColumn DataField="path" SortExpression="path" ReadOnly="True" HeaderText="所在文件夹">
																								<HeaderStyle Wrap="False" HorizontalAlign="Left"></HeaderStyle>
																								<ItemStyle Wrap="False" HorizontalAlign="Left" VerticalAlign="Top"></ItemStyle>
																							</asp:BoundColumn>
																							<asp:BoundColumn DataField="type" SortExpression="type" HeaderText="类型">
																								<HeaderStyle Wrap="False"></HeaderStyle>
																								<ItemStyle Wrap="False" VerticalAlign="Top"></ItemStyle>
																							</asp:BoundColumn>
																							<asp:BoundColumn DataField="empid" SortExpression="empname" ReadOnly="True" HeaderText="所有者">
																								<HeaderStyle Wrap="False" HorizontalAlign="Left" VerticalAlign="Top"></HeaderStyle>
																								<ItemStyle Wrap="False" HorizontalAlign="Left" VerticalAlign="Top"></ItemStyle>
																							</asp:BoundColumn>
																							<asp:BoundColumn DataField="cdate" SortExpression="cdate" ReadOnly="True" HeaderText="创建日期">
																								<HeaderStyle Wrap="False" HorizontalAlign="Left" VerticalAlign="Top"></HeaderStyle>
																								<ItemStyle Wrap="False" HorizontalAlign="Left" VerticalAlign="Top"></ItemStyle>
																							</asp:BoundColumn>
																						</Columns>
																						<PagerStyle HorizontalAlign="Center" ForeColor="DarkSlateBlue" BackColor="PaleGoldenrod"></PagerStyle>
																					</asp:datagrid></TD>
																			</TR>
																		</TABLE>
																	</FONT>
																</TD>
															</TR>
														</TABLE>
													</TD>
												</TR>
												<TR>
													<TD style="HEIGHT: 14px" vAlign="top" noWrap align="left" bgColor="#d4d0c8">
														<asp:label id="lblObjNum" runat="server" CssClass="td" Height="22px" Font-Size="X-Small"></asp:label><FONT face="宋体">&nbsp;
															<asp:label id="lblErr" runat="server" CssClass="err" DESIGNTIMEDRAGDROP="232" Font-Size="X-Small"></asp:label></FONT></TD>
												</TR>
											</TABLE>
										</FONT>
									</TD>
								</TR>
							</TABLE>
						</P>
					</TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>

⌨️ 快捷键说明

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