navigator.ascx
来自「源码实现Internet购物的数据库设计代码以及相应的操作界面。通过本程序可以了」· ASCX 代码 · 共 37 行
ASCX
37 行
<%@ Control Language="c#" Inherits="StoreOnline.Navigator" CodeFile="Navigator.ascx.cs" %>
<TABLE id="Table1" style="HEIGHT: 376px" borderColor="inactiveborder" cellSpacing="0" cellPadding="0"
width="100%" border="1">
<TR>
<TD vAlign="top">
<TABLE id="Table2" cellSpacing="0" cellPadding="0" width="100%" border="0">
<TR>
<TD style="HEIGHT: 17px"><FONT face="宋体">产品分类</FONT></TD>
</TR>
<TR>
<TD style="HEIGHT: 17px"><FONT face="宋体">
<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='<%# "ProList.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='<%# "ProList.aspx?CatID=" + DataBinder.Eval(Container.DataItem, "CatID") + "&selection=" + Container.ItemIndex %>' runat="server" />
</ItemTemplate>
</asp:datalist></FONT></TD>
</TR>
<TR>
<TD></TD>
</TR>
<TR>
<TD><FONT face="宋体"></FONT></TD>
</TR>
</TABLE>
<FONT face="宋体"></FONT><FONT face="宋体"></FONT>
</TD>
</TR>
</TABLE>
<FONT face="宋体"></FONT>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?