📄 type.ascx
字号:
<%@ OutputCache Duration="3000" VaryByParam="selection" %>
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="Type.ascx.cs" Inherits="shopping.Type" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<table cellSpacing="0" cellPadding="0" width="145" border="0" bgcolor=Ivory>
<tr vAlign="top">
<td vAlign="top" colSpan="2"><FONT face="宋体"></FONT><A href="default.aspx"></A></td>
</tr>
<tr vAlign="top">
<td><asp:datalist id="MyList" Font-Size="Larger" EnableViewState="False" SelectedItemStyle-BackColor="dimgray"
width="145px" cellpadding="4" runat="server" BorderColor="#3366CC" BorderStyle="None" BackColor="White"
GridLines="Both" BorderWidth="1px" ShowHeader="False" ShowFooter="False" Font-Underline="True">
<SelectedItemStyle Font-Size="Medium" Font-Bold="True" ForeColor="#CCFF99" BackColor="#009999"></SelectedItemStyle>
<SelectedItemTemplate>
<asp:HyperLink id="HyperLink2" Text='<%# DataBinder.Eval(Container.DataItem, "typeName") %>' NavigateUrl='<%# "wareList.aspx?CategoryID=" + DataBinder.Eval(Container.DataItem, "typeID") + "&selection=" + Container.ItemIndex %>' runat="server" />
</SelectedItemTemplate>
<ItemStyle Font-Underline="True" ForeColor="#003399" BackColor="White"></ItemStyle>
<ItemTemplate>
<asp:HyperLink id="HyperLink1" Text='<%# DataBinder.Eval(Container.DataItem, "typeName") %>' NavigateUrl='<%# "wareList.aspx?CategoryID=" + DataBinder.Eval(Container.DataItem, "typeID") + "&selection=" + Container.ItemIndex %>' runat="server" />
</ItemTemplate>
<FooterStyle ForeColor="#003399" BackColor="#99CCCC"></FooterStyle>
<HeaderStyle Font-Bold="True" ForeColor="#CCCCFF" BackColor="#003399"></HeaderStyle>
</asp:datalist></td>
</tr>
<tr>
<td><br>
<br>
</td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -