📄 booknav.ascx
字号:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="BookNav.ascx.cs" Inherits="BookNav" %>
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td style="font-size: 14px; color: white" align="center" bgcolor="#0000cc">
图书分类</td>
</tr>
<tr>
<td>
<asp:datalist id="MyList" Font-Size="Larger" EnableViewState="False" SelectedItemStyle-BackColor="dimgray"
width="109px" runat="server" ShowFooter="False" Font-Underline="True" HorizontalAlign="Center"
Font-Bold="True" CellSpacing="6">
<SelectedItemStyle Font-Size="Medium" BackColor="DimGray"></SelectedItemStyle>
<SelectedItemTemplate>
<asp:HyperLink id="HyperLink2" Text='<%# DataBinder.Eval(Container.DataItem, "CatName") %>' NavigateUrl='<%# "BookList.aspx?CatID=" + DataBinder.Eval(Container.DataItem, "CatID") + "&selection=" + Container.ItemIndex %>' runat="server" />
</SelectedItemTemplate>
<ItemStyle Font-Underline="True" HorizontalAlign="Center"></ItemStyle>
<ItemTemplate>
<asp:HyperLink id="HyperLink1" Text='<%# DataBinder.Eval(Container.DataItem, "CatName") %>' NavigateUrl='<%# "BookList.aspx?CatID=" + DataBinder.Eval(Container.DataItem, "CatID") + "&selection=" + Container.ItemIndex %>' runat="server" />
</ItemTemplate>
</asp:datalist>
</td>
</tr>
<tr>
<td style="height: 19px">
</td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -