📄 hotclick.ascx
字号:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="HotClick.ascx.cs" Inherits="DefaultControl_HotClick" %>
<style type="text/css">
.style1
{
width: 100%;
}
</style>
<table border="0" cellpadding="0" cellspacing="0" style="border-right: lightblue thin solid;
border-top: lightblue thin solid; border-left: lightblue thin solid; width: 200px;
border-bottom: lightblue thin solid">
<tr>
<td style="border-right: lightblue thin; border-top: lightblue thin; border-left: lightblue thin;
width: 100px; border-bottom: lightblue thin solid; height: 20px">
热门点击</td>
</tr>
<tr>
<td style="width: 100px">
<asp:DataList ID="DataList1" runat="server" Width="200px">
<ItemTemplate>
<table class="style1" width="200" style="border-right: thin; border-top: thin; border-left: thin; border-bottom: lightblue thin dotted" cellpadding="0" cellspacing="0">
<tr>
<td rowspan="2" style="width: 100px">
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# Eval("BookID","~/Product.aspx?xx={0}") %>' Text='<%# Eval("ImageFileName1", "<img src=BookImages/{0} width=80 height=100 border=0 />") %>'></asp:HyperLink>
</td>
<td width="100">
<asp:Label ID="Label2" runat="server" Text='<%# Eval("BookName") %>' Width="120px"></asp:Label>
</td>
</tr>
<tr>
<td width="100">
点击率<asp:Label ID="Label1" runat="server" Text='<%# Eval("Click") %>' Width="72px"></asp:Label>
</td>
</tr>
</table>
</ItemTemplate>
</asp:DataList></td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -