newsleft.ascx

来自「一款简单易用」· ASCX 代码 · 共 35 行

ASCX
35
字号
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="NewsLeft.ascx.cs" Inherits="WebdiyNews.Web.News.Inc.NewsLeft" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<table width="170" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td><img src="News/images/zuoxian.gif" width="170" height="2"></td>
    </tr>
</table>
<table width="170" border="0" cellpadding="0" cellspacing="0">
    <tr align="right" bgcolor="#dcdcdc">
        <td width="46" height="14"><img src="News/images/jiantouc.gif" width="6" height="5" hspace="3" vspace="6"></td>
        <td width="11" height="14" align="left" valign="middle" bgcolor="#dcdcdc">
        </td>
        <td width="113" height="14" align="left" valign="middle" bgcolor="#dcdcdc"><span class="p9660066"><a href="index.aspx">分类导航</a></span></td>
    </tr>
</table>
<asp:Repeater id="Repeater1" runat="server" EnableViewState="False">
    <HeaderTemplate>
        <table width="170" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td width="46" height="10" align="right"></td>
                <td width="11" height="10"></td>
                <td width="113" height="10"></td>
            </tr>
    </HeaderTemplate>
    <ItemTemplate>
        <tr>
            <td align="right"><img src="News/images/jiantoux.gif" width="5" height="5" hspace="3" vspace="10"></td>
            <td>
            </td>
            <td><span class="p9"><a href='../News/c<%# DataBinder.Eval(Container.DataItem, "Cat_ID") %>.aspx'><%# DataBinder.Eval(Container.DataItem, "Cat_Name") %></a></span></td>
        </tr>
    </ItemTemplate>
    <FooterTemplate>
        </table>
    </FooterTemplate>
</asp:Repeater>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?