?? booklists.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>
<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 + -