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

📄 search.aspx

📁 这是用ASP.NET和SQLserver编写的购物网站的程序
💻 ASPX
字号:
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="search.aspx.vb" Inherits="ECDB.search" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<title>search</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<asp:dropdownlist id="DrList" style="Z-INDEX: 113; LEFT: 24px; POSITION: absolute; TOP: 328px" runat="server"
				DataTextField="0" Height="64px" Width="96px"></asp:dropdownlist>
			<asp:button id="Button3" style="Z-INDEX: 115; LEFT: 40px; POSITION: absolute; TOP: 720px" runat="server"
				Text="重置"></asp:button><asp:button id="Button4" style="Z-INDEX: 102; LEFT: 136px; POSITION: absolute; TOP: 328px" runat="server"
				Height="24px" Width="48px" Text="提交"></asp:button><asp:label id="Label4" style="Z-INDEX: 101; LEFT: 32px; POSITION: absolute; TOP: 368px" runat="server"
				Height="16px" Width="80px">主要物品</asp:label><FONT face="宋体"><asp:linkbutton id="LinkButton1" style="Z-INDEX: 100; LEFT: 32px; POSITION: absolute; TOP: 400px"
					runat="server" Height="32px" Width="64px">MP3</asp:linkbutton></FONT><asp:linkbutton id="LinkButton2" style="Z-INDEX: 103; LEFT: 32px; POSITION: absolute; TOP: 432px"
				runat="server">数码相机</asp:linkbutton><asp:linkbutton id="LinkButton3" style="Z-INDEX: 104; LEFT: 32px; POSITION: absolute; TOP: 464px"
				runat="server">摄像头</asp:linkbutton><asp:linkbutton id="LinkButton4" style="Z-INDEX: 105; LEFT: 32px; POSITION: absolute; TOP: 496px"
				runat="server">U盘</asp:linkbutton><asp:label id="Label3" style="Z-INDEX: 107; LEFT: 40px; POSITION: absolute; TOP: 552px" runat="server">综合查询</asp:label><asp:textbox id="TB3" style="Z-INDEX: 109; LEFT: 40px; POSITION: absolute; TOP: 592px" runat="server"
				Width="136px">产品编号</asp:textbox><asp:textbox id="TB1" style="Z-INDEX: 106; LEFT: 40px; POSITION: absolute; TOP: 624px" runat="server"
				Width="136px">产品名称</asp:textbox><asp:textbox id="TB2" style="Z-INDEX: 108; LEFT: 40px; POSITION: absolute; TOP: 656px" runat="server"
				Width="136px">最低价格</asp:textbox><asp:textbox id="TB4" style="Z-INDEX: 110; LEFT: 40px; POSITION: absolute; TOP: 688px" runat="server"
				Width="128px">最高价格</asp:textbox><asp:button id="Button2" style="Z-INDEX: 111; LEFT: 120px; POSITION: absolute; TOP: 720px" runat="server"
				Text="查询"></asp:button>
			<table cellSpacing="0" cellPadding="0" width="750" align="center" bgColor="#ffffff" border="0">
				<TR>
					<TD style="HEIGHT: 35px" width="10"></TD>
					<TD style="HEIGHT: 35px" width="730"><FONT face="宋体">&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="Label1" runat="server" Width="456px" Font-Bold="True" ForeColor="Lime" Font-Size="XX-Large"
								BorderStyle="Dotted">欢迎来到数码大世界</asp:label></FONT></TD>
					<TD style="WIDTH: 49px; HEIGHT: 35px" width="49"></TD>
				</TR>
				<tr>
					<td width="10" style="HEIGHT: 118px"><FONT face="宋体"></FONT></td>
					<td width="730" style="HEIGHT: 118px">
						<OBJECT style="WIDTH: 888px; HEIGHT: 120px" codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
							height="120" width="888" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" VIEWASTEXT>
							<PARAM NAME="_cx" VALUE="18796">
							<PARAM NAME="_cy" VALUE="2540">
							<PARAM NAME="FlashVars" VALUE="">
							<PARAM NAME="Movie" VALUE="images/background/1.swf">
							<PARAM NAME="Src" VALUE="images/background/1.swf">
							<PARAM NAME="WMode" VALUE="Window">
							<PARAM NAME="Play" VALUE="-1">
							<PARAM NAME="Loop" VALUE="-1">
							<PARAM NAME="Quality" VALUE="High">
							<PARAM NAME="SAlign" VALUE="">
							<PARAM NAME="Menu" VALUE="-1">
							<PARAM NAME="Base" VALUE="">
							<PARAM NAME="AllowScriptAccess" VALUE="">
							<PARAM NAME="Scale" VALUE="ShowAll">
							<PARAM NAME="DeviceFont" VALUE="0">
							<PARAM NAME="EmbedMovie" VALUE="0">
							<PARAM NAME="BGColor" VALUE="">
							<PARAM NAME="SWRemote" VALUE="">
							<PARAM NAME="MovieData" VALUE="">
							<PARAM NAME="SeamlessTabbing" VALUE="1">
							<PARAM NAME="Profile" VALUE="0">
							<PARAM NAME="ProfileAddress" VALUE="">
							<PARAM NAME="ProfilePort" VALUE="0">
							<embed src="images/background/1.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
								type="application/x-shockwave-flash" width="32" height="32"> </embed>
						</OBJECT>
					</td>
					<td style="WIDTH: 49px; HEIGHT: 118px" width="49"><FONT face="宋体"></FONT></td>
				</tr>
				<tr>
					<td style="HEIGHT: 54px"><FONT face="宋体"></FONT></td>
					<td style="WIDTH: 843px; HEIGHT: 54px">
						<table cellSpacing="0" cellPadding="0" width="100%" border="0">
							<tr>
								<td style="WIDTH: 131px; HEIGHT: 47px"><FONT face="宋体">&nbsp;
										<asp:imagebutton id="ImageButton1" runat="server" Width="99px" Height="50px" ImageUrl="基本按纽/首页.gif"></asp:imagebutton></FONT></td>
								<td style="WIDTH: 86px; HEIGHT: 47px"><FONT face="宋体">&nbsp;
										<asp:hyperlink id="HyperLink6" runat="server" Width="112px" Font-Size="Large" ForeColor="#FF8000"
											Font-Bold="True" NavigateUrl="login.aspx">用户登录</asp:hyperlink></FONT></td>
								<td style="WIDTH: 59px; HEIGHT: 47px"><FONT face="宋体">&nbsp;
										<asp:hyperlink id="HyperLink5" runat="server" Width="80px" Font-Size="Large" ForeColor="#FF8000"
											Font-Bold="True" NavigateUrl="register.aspx">注册</asp:hyperlink></FONT></td>
								<td style="WIDTH: 77px; HEIGHT: 47px"><FONT face="宋体">&nbsp;
										<asp:hyperlink id="HyperLink4" runat="server" Width="88px" Font-Size="Large" ForeColor="#FF8000"
											Font-Bold="True" NavigateUrl="shopbike.aspx">购物车</asp:hyperlink></FONT></td>
								<td style="WIDTH: 78px; HEIGHT: 47px"><FONT face="宋体">&nbsp;
										<asp:hyperlink id="HyperLink3" runat="server" Width="63px" Font-Size="Large" ForeColor="#FF8000"
											Font-Bold="True" NavigateUrl="search.aspx">搜索</asp:hyperlink></FONT></td>
								<td style="WIDTH: 88px; HEIGHT: 47px"><FONT face="宋体"><asp:hyperlink id="HyperLink1" runat="server" Width="82px" Font-Size="Large" ForeColor="#FF8000"
											Font-Bold="True" NavigateUrl="commentary.aspx">留言板</asp:hyperlink></FONT></td>
								<TD style="WIDTH: 111px; HEIGHT: 47px"><FONT face="宋体"><asp:hyperlink id="HyperLink2" runat="server" Width="83px" Font-Size="Large" ForeColor="#FF8000"
											Font-Bold="True" NavigateUrl="managerlogin.aspx">管理员</asp:hyperlink></FONT></TD>
								<TD style="WIDTH: 167px; HEIGHT: 47px"><FONT face="宋体"><asp:hyperlink id="Hyperlink11" runat="server" Width="91px" Font-Size="Large" ForeColor="#FF8000"
											Font-Bold="True" NavigateUrl="my.aspx">我的pub</asp:hyperlink></FONT></TD>
							</tr>
						</table>
						</FONT>
						<asp:Label id="Label2" runat="server" Font-Size="Large" ForeColor="Aqua"></asp:Label>
						<asp:Button id="Button1" runat="server" Font-Size="Medium" ForeColor="White" BackColor="#FF8080"
							Text="注销"></asp:Button>
					</td>
				</tr>
			</table>
			<TABLE id="Table1" style="Z-INDEX: 114; LEFT: 256px; POSITION: absolute; TOP: 264px" cellSpacing="1"
				borderColorDark="#ffffff" cellPadding="1" width="300" bgColor="#ffffff" borderColorLight="#ffffff"
				border="0">
				<TR>
					<TD><FONT face="宋体"><asp:datalist id="DataList1" runat="server" Height="600px" Width="647px" CellSpacing="150" CellPadding="0"
								RepeatColumns="2" RepeatDirection="Horizontal" HorizontalAlign="Center">
								<ItemTemplate>
									<img src ='images\<%#DataBinder.Eval(Container.DataItem,"image")%>'  align =top width =130 height = 150>
									<A href = 'proShow.aspx?title_id=<%#DataBinder.Eval(Container.DataItem,"itemid")%>'/>
									<%#DataBinder.Eval(Container.DataItem,"itemname")%>
									<br>
									<br>
									<%#DataBinder.Eval(Container.DataItem,"listprice")%>
									<br>
									<br>
									<A href = 'shopbike.aspx?title_id=<%#DataBinder.Eval(Container.DataItem,"itemid")%>'/>
									购买
								</ItemTemplate>
							</asp:datalist></FONT></TD>
					<TD></TD>
					<TD><FONT face="宋体"></FONT></TD>
				</TR>
				<TR>
					<TD><FONT face="宋体">共</FONT>
						<asp:label id="lblRecordCount" runat="server">Label</asp:label><FONT face="宋体">页 第
							<asp:label id="Label5" runat="server">Label</asp:label>页 跳至第</FONT>
						<asp:textbox id="TextBox1" runat="server" Width="30px"></asp:textbox><FONT face="宋体">页
							<asp:linkbutton id="LinkButton5" runat="server">go</asp:linkbutton></FONT></TD>
					<TD><FONT face="宋体"></FONT></TD>
					<TD><FONT face="宋体"></FONT></TD>
				</TR>
				<TR>
					<TD><asp:linkbutton id="lbnPrevPage" runat="server" Text="下一页" OnCommand="Page_OnClick" CommandName="prev">上一页</asp:linkbutton><asp:linkbutton id="lbnNextPage" runat="server" Text="上一页" OnCommand="Page_OnClick" CommandName="next">下一页</asp:linkbutton></TD>
					<TD></TD>
					<TD></TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>

⌨️ 快捷键说明

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