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

📄 normalsearch.aspx

📁 图书借阅系统!ASP.NET实现的
💻 ASPX
字号:
<%@ Register TagPrefix="uc1" TagName="SearchBar" Src="SearchBar.ascx" %>
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="NormalSearch.aspx.vb" Inherits="Library.NormalSearch"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<title>NormalSearch</title><LINK href="../main.css" type="text/css" rel="stylesheet">
		<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<TABLE id="Table1" cellSpacing="1" cellPadding="1" width="100%" border="1" class="DataInputTable">
				<TR>
					<TD align="center" colspan="2">
						<uc1:SearchBar id="SearchBar1" runat="server"></uc1:SearchBar></TD>
				</TR>
				<tr>
					<td colspan="2" align="center" class="TableTitle">一般查询</td>
				</tr>
				<TR>
					<TD class="InputTitle"><FONT face="宋体">请选择文献类别:</FONT></TD>
					<TD>
						<asp:RadioButtonList id="BookStyleList" runat="server" RepeatDirection="Horizontal" Width="453px" CellPadding="0"
							CssClass="RadioCheckBox" CellSpacing="0">
							<asp:ListItem Value="所有类别" Selected="True">所有类别</asp:ListItem>
							<asp:ListItem Value="中文图书">中文图书</asp:ListItem>
							<asp:ListItem Value="西文图书">西文图书</asp:ListItem>
							<asp:ListItem Value="中文期刊">中文期刊</asp:ListItem>
							<asp:ListItem Value="西文期刊">西文期刊</asp:ListItem>
						</asp:RadioButtonList></TD>
				</TR>
				<TR>
					<TD class="InputTitle">
						<P><FONT face="宋体">请输入查询类型</FONT><FONT face="宋体">:</FONT></P>
					</TD>
					<TD><FONT face="宋体">
							<asp:DropDownList id="SearchStyleList" runat="server">
								<asp:ListItem Value="BookName" Selected="True">题名</asp:ListItem>
								<asp:ListItem Value="Subject">主题词</asp:ListItem>
								<asp:ListItem Value="SearchNO">索取号</asp:ListItem>
								<asp:ListItem Value="PubName">出版社</asp:ListItem>
								<asp:ListItem Value="ISBN">ISBN号</asp:ListItem>
								<asp:ListItem Value="Series">丛书名</asp:ListItem>
							</asp:DropDownList></FONT></TD>
				</TR>
				<TR>
					<TD class="InputTitle"><FONT face="宋体">请输入查询内容:</FONT></TD>
					<TD>
						<asp:TextBox id="txtContent" runat="server" CssClass="TextInput"></asp:TextBox>
						<asp:Button id="SearchBtn" runat="server" Text="确定" CssClass="NormalSubmit" Height="19px"></asp:Button></TD>
				</TR>
				<TR>
					<TD class="InputTitle"><FONT face="宋体">请选择查询模式:</FONT>
					</TD>
					<TD><FONT face="宋体">
							<asp:RadioButton id="AcurateChoice" runat="server" Checked="True" Text="精确查询" GroupName="ModelGroup"></asp:RadioButton>
							<asp:RadioButton id="AnyChoice" runat="server" Text="任意匹配" GroupName="ModelGroup"></asp:RadioButton></FONT></TD>
				</TR>
				<tr>
					<td colspan="2" align="center" class="TableTitle">查询结果</td>
				</tr>
				<tr>
					<td colspan="2" align="center">
						<asp:DataGrid id="ResultGrid" runat="server" AutoGenerateColumns="False" Width="100%" BorderColor="#E7E7FF"
							BorderStyle="None" BorderWidth="1px" BackColor="White" CellPadding="3" GridLines="Horizontal"
							AllowPaging="True" AllowSorting="True" CssClass="DatagridTable">
							<SelectedItemStyle Font-Bold="True" ForeColor="#F7F7F7" BackColor="#738A9C"></SelectedItemStyle>
							<AlternatingItemStyle BackColor="#F7F7F7"></AlternatingItemStyle>
							<ItemStyle ForeColor="#4A3C8C" BackColor="#E7E7FF"></ItemStyle>
							<HeaderStyle Font-Bold="True" HorizontalAlign="Center" ForeColor="#F7F7F7" BackColor="#4A3C8C"></HeaderStyle>
							<FooterStyle ForeColor="#4A3C8C" BackColor="#B5C7DE"></FooterStyle>
							<Columns>
								<asp:TemplateColumn HeaderText="选择">
									<ItemStyle HorizontalAlign="Center"></ItemStyle>
									<ItemTemplate>
										<FONT face="宋体">
											<asp:CheckBox id="ChckBox" runat="server" Enabled='<%# IIf(DataBinder.Eval(Container.DataItem, "BookState")=1,true,false) %>'></asp:CheckBox></FONT>
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:BoundColumn DataField="BookName" SortExpression="BookName" HeaderText="书名">
									<ItemStyle HorizontalAlign="Center"></ItemStyle>
								</asp:BoundColumn>
								<asp:BoundColumn DataField="BookAuthor" SortExpression="BookAuthor" HeaderText="作者">
									<ItemStyle HorizontalAlign="Center"></ItemStyle>
								</asp:BoundColumn>
								<asp:BoundColumn DataField="Series" SortExpression="Series" HeaderText="丛书名">
									<ItemStyle HorizontalAlign="Center"></ItemStyle>
								</asp:BoundColumn>
								<asp:BoundColumn DataField="SearchNO" SortExpression="SearchNO" HeaderText="索取号">
									<ItemStyle HorizontalAlign="Center"></ItemStyle>
								</asp:BoundColumn>
								<asp:TemplateColumn SortExpression="BookState" HeaderText="目前状态">
									<ItemStyle HorizontalAlign="Center"></ItemStyle>
									<ItemTemplate>
										<asp:Label runat="server" Text='<%# EditState( DataBinder.Eval(Container, "DataItem.BookState")) %>' ID="Label1">
										</asp:Label>
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:BoundColumn Visible="False" DataField="BookID" HeaderText="BookID"></asp:BoundColumn>
							</Columns>
							<PagerStyle HorizontalAlign="Center" ForeColor="#4A3C8C" BackColor="#E7E7FF" Mode="NumericPages"></PagerStyle>
						</asp:DataGrid></td>
				</tr>
				<tr>
					<td colspan="2" align="center">
						<asp:Button id="ViewBtn" runat="server" Text="查看" CssClass="NormalSubmit"></asp:Button><FONT face="宋体">&nbsp;&nbsp;&nbsp;
						</FONT>
						<asp:Button id="BookingBtn" runat="server" CssClass="NormalSubmit" Text="预约"></asp:Button>
					</td>
				</tr>
			</TABLE>
		</form>
	</body>
</HTML>

⌨️ 快捷键说明

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