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

📄 booklists.aspx

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

<!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  border="0" style="FONT-SIZE: 12px; FONT-FAMILY: Tahoma; BORDER-COLLAPSE: collapse;" cellspacing="0" cellpadding="0" align="center" width=400>
		<tr>
		    <td align=center height=50><font size=5 face="隶书">书刊信息列表</font>
		    </td>
		</tr>
		<tr>
            
		    <td align=center>按书号搜索:<asp:TextBox ID="txtBookID" runat="server"></asp:TextBox>
                &nbsp; &nbsp;
                <asp:ImageButton ID="imgBtnQuery" runat="server" ImageUrl="~/Images/QUERY.GIF" OnClick="imgBtnQuery_Click" />
		    </td>
		</tr>
		<tr>
		    <td align=center>
                <asp:GridView ID="GridView1" runat="server" Width=100% AutoGenerateColumns="False" DataKeyNames="BookID" BackColor="White" BorderColor="#999999" BorderStyle="None" BorderWidth="1px" CellPadding="3" GridLines="Vertical" AllowPaging="True" OnPageIndexChanged="GridView1_PageIndexChanged" OnPageIndexChanging="GridView1_PageIndexChanging" OnRowDeleting="GridView1_RowDeleting" PageSize="15">
                    <Columns>
                        <asp:HyperLinkField DataNavigateUrlFields="BookID" DataNavigateUrlFormatString="BookDetails.aspx?bookID={0}" HeaderText="题名" DataTextField="BookName" />
                        <asp:BoundField DataField="BookAuthor" HeaderText="作者" >                            
                        </asp:BoundField>
                        <asp:BoundField DataField="BookPublish" 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>
		<tr>
		    <td>
		    </td>
		</tr>
	</table>
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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