📄 booklist.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/QT.master" CodeFile="booklist.aspx.cs" Inherits="booklist" %>
<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="ContentPlaceHolder1">
<div style="z-index: 101; left: -20px; width: 732px; position: absolute; top: 0px;
height: 747px">
<table style="width:730px;">
<tr class="category">
<td style="width: 730px">
<span style=" color:Gray;">排序方式:<asp:Button ID="btnMonry" runat="server" Text="按单价" Height="20px" OnClick="btnMonry_Click" />
<asp:Button ID="btndate" runat="server" Text="按日期" Height="20px" OnClick="btndate_Click" /></span>
</td>
</tr>
<tr>
<td style="width: 730px">
<asp:DataList ID="dtlBook" runat="server" Width="722px">
<ItemTemplate>
<table>
<tr>
<td style=" width:150px;">
<asp:ImageButton ID="ImageButton1" ImageUrl='<%#Eval("Img") %>' runat="server" CommandArgument='<%#Eval("Id")%>' CommandName="yy" OnCommand="ImageButton1_Command1" Height="97px" Width="79px" /></td>
<td style=" width:400px;">
<ul style="LIST-STYLE-TYPE: none; margin:0px;">
<li style="color:Navy;">
<asp:LinkButton ID="LinkButton1" runat="server" Text='<%#Eval("Title") %>' CommandName="kk" OnCommand="LinkButton1_Command" CommandArgument='<%#Eval("Id")%>'></asp:LinkButton></li>
<li style="color:Gray;">作者:<%#Eval("Author") %>著</li>
<li style="color:Gray;"><span>出版社:<%#Eval("Pub.Name") %></span><span style="margin:0px 0px 0px 30px">出版日期:<%#Eval("PublishDate")%></span></li>
<li ></li>
<li ><span runat="server" id="kk" style="color:Red;MARGIN: 0px 5px 0px 40px;">单价:
<asp:Label
ID="lblUnitPrice" runat="server" Text='<%#Eval("UnitPrice") %>'></asp:Label></span >
<span style="MARGIN: 0px 5px 0px 150px;">
<asp:ImageButton ID="btnbuy" runat="server" ImageUrl="~/image/z_save.gif" CommandArgument='<%#Eval("Id")%>' CommandName="Buy" OnCommand="btnbuy_Command" />
</span></li>
</ul>
</td>
</tr>
</table>
</ItemTemplate>
<SeparatorTemplate>
<hr style="width: 100%; color: #cfcfcf; height: 1px" />
</SeparatorTemplate>
</asp:DataList>
</td>
</tr>
<tr>
<td style="width: 730px" class="category">
</td>
</tr>
<tr>
<td style="width: 730px; height: 20px;" align="right" valign="middle" class="t_number">
<asp:ImageButton ID="btnFirst" runat="server" OnClick="btnFirst_Click" ImageUrl="~/image/_firstpg.gif" Height="18px" Width="51px" />
<asp:ImageButton ID="ImageButton2" runat="server" OnClick="ImageButton2_Click" ImageUrl="~/image/_prevpg.gif" Height="18px" Width="57px" />
<asp:ImageButton ID="btnNext" runat="server" OnClick="btnNext_Click" ImageUrl="~/image/_nextpg.gif" Height="18px" Width="57px"/>
<asp:ImageButton ID="btnLast" runat="server" OnClick="btnLast_Click" ImageUrl="~/image/_lastpg.gif" Height="18px" Width="57px"/>
当前页:<asp:Label ID="lblcruutenPager" runat="server" Text="1"></asp:Label>
共<asp:Label ID="lblcPagers" runat="server" Text="0"></asp:Label>
页 跳转到第<asp:TextBox ID="lblPage" runat="server" Height="16px" Width="34px"></asp:TextBox>页
<asp:Button ID="btnpage" runat="server" Text="确定" Height="20px" OnClick="btnpage_Click" />
</td>
</tr>
</table>
</div>
</asp:Content>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -