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

📄 adminbookadvancedsearch.aspx

📁 一个使用ASP。net和SQLServer2005开发的图书管理系统
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AdminBookAdvancedSearch.aspx.cs" Inherits="BookManage_AdminBookAdvancedSearch" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table width="400" style="FONT-SIZE: 12px; FONT-FAMILY: Tahoma; BORDER-COLLAPSE: collapse; " border="0" cellspacing="0" cellpadding="0" align="center" bgColor="#f1f0f4">
				<tr>
					<td align=center>
						<h1><font face="楷体_GB2312"><b> 书 刊 高 级 搜 索</b></font></h1>
					    <hr width="90%">
					</td>
				</tr>
				<tr>
					<td>						
							<table width="100%" border="0" cellspacing="0" cellpadding="0" style="FONT-SIZE: 12px; FONT-FAMILY: Tahoma; BORDER-COLLAPSE: collapse; ">
								<tr>
									<td colspan="4">
										搜索选项:
									</td>
								</tr>
								<tr>
									<td>
										书号:
									</td>
									<td>
										<asp:TextBox id="txtBookID" runat="server" Width="98px"></asp:TextBox></td>
									<td>
										书名:
									</td>
									<td>
										<asp:TextBox id="txtBookName" runat="server" Width="98px"></asp:TextBox></td>
								</tr>
								<tr>
									<td>
										ISBN号:
									</td>
									<td>
										<asp:TextBox id="txtBookISBN" runat="server" Width="98px"></asp:TextBox></td>
									<TD>
										作者名:
									</TD>
									<td>
										<asp:TextBox id="txtBookAuthor" runat="server" Width="99px"></asp:TextBox></td>
								</tr>
								<tr>
									<td>
										出版社:
									</td>
									<td>
										<asp:TextBox id="txtBookPublish" runat="server" Width="96px"></asp:TextBox></td>
									<td>主题词:</td>
									<td >
										<asp:TextBox id="txtBookSubject" runat="server" Width="99px"></asp:TextBox></td>
								</tr>
								<tr>
									<td colSpan="4" align=center><asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/Images/search.GIF" OnClick="ImageButton1_Click" /></td>
								</tr>
							</table>						
					</td>
				</tr>
				<tr>
					<td>
						
							<table width="100%" border="0" cellspacing="0" cellpadding="0" >
								<tr>
									<td bgcolor="#cccccc" style="HEIGHT: 17px"><font color="#000000">搜索结果:</font></td>
								</tr>
								<tr>
									<td>
										<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="BookID" BackColor="White" BorderColor="#999999" BorderStyle="None" BorderWidth="1px" CellPadding="3" GridLines="Vertical"  OnRowDeleting="GridView1_RowDeleting" >
                                            <Columns>
                                                <asp:HyperLinkField DataNavigateUrlFields="BookID" DataNavigateUrlFormatString="BookDetails.aspx?bookID={0}" HeaderText="题名" DataTextField="BookName" />
                                                <asp:BoundField DataField="BookISBN" HeaderText="ISBN" >
                                                    <ItemStyle Wrap="False" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="BookAuthor" HeaderText="作者" >                                                    
                                                </asp:BoundField>
                                                <asp:BoundField DataField="BookPublish" HeaderText="出版社" >
                                                    <ItemStyle Wrap="False" />
                                                </asp:BoundField>
                                                <asp:BoundField DataField="BookPublishDate" HeaderStyle-Wrap=false HtmlEncode=false DataFormatString="{0:yyyy-MM}" HeaderText="出版时间" >
                                                    <ItemStyle Wrap="False" />
                                                </asp:BoundField>                                                                                       
                                                <asp:CommandField ShowDeleteButton="True" HeaderText="删除" >
                                                    <ItemStyle Wrap="False" />
                                                </asp:CommandField>
                                            </Columns>
                                            <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
                                            <RowStyle BackColor="#EEEEEE" ForeColor="Black" />
                                            <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
                                            <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Right" />
                                            <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
                                            <AlternatingRowStyle BackColor="Gainsboro" />
                                        </asp:GridView></td>
								</tr>
							</table>						
					</td>
				</tr>				
			</table>
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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