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

📄 sample1.aspx

📁 一个不错的站内搜索源代码
💻 ASPX
字号:
<%@ Page %>
<%@ Register TagPrefix="uc1" TagName="SearchControl" Src="SearchControl.ascx" %>
<%@ Register TagPrefix="uc1" TagName="EasySearchResults_DataGrid" Src="EasySearchResults_DataGrid.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>

		<title>EasySearch Sample 1 :: DataGrid Results</title>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
		<link rel="stylesheet" href="easysearchasp.css" type="text/css">
	</HEAD>
	<body marginwidth="0" marginheight="0" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0"
		bgcolor="#ffffff">
		<form runat="server" ID="SearchForm">
			<P>Sample 1 :: This EasySearchASP sample contains the use of two user controls. The 
				first SearchControl, is responsible for rendering a Textbox, that allows the 
				end user to type in the content they would like to search for.</P>
			<P>
				<uc1:SearchControl id="SearchControl" 
					ResultsPageUrl="Sample1.aspx?Search={0}" 
					IncludeEnterPostBack="false"
					runat="server" /></P>
			<P>The Second control is the EasySearchResults_DataGrid control. EasySearch Results 
				are returned in a datatable, so it's easy to bind the results against a number 
				of controls, which we'll see in the next few examples.</P>
			<h1>Results</h1>
			<uc1:EasySearchResults_DataGrid id="EasySearchResults_DataGrid1" runat="server" />
		</form>
	</body>
</HTML>

⌨️ 快捷键说明

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