⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 _toplist.ascx

📁 一、安装SQL数据库 1、 打开Microsoft SQL Server 企业管理器 2、 建立一个新的数据库
💻 ASCX
字号:
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="_TopList.Ascx.cs" Inherits="XfokSite.TopList" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<%@ OutputCache Duration="240" VaryByParam="ChannelID;ClassID" %>
<%
/*
Duration="240"
此为缓存时间,请酌情设置(单位:秒)
*/
//Response.Write(DateTime.Now);
%>
<asp:DataList ID="TopList_DataList" runat="server" CellPadding="0" CellSpacing="0" RepeatDirection="Horizontal" RepeatColumns="1"
	Width="100%" OnItemDataBound="thisItemBound">
	<itemstyle Width="50%"></itemstyle>
	<itemtemplate>
		<asp:HyperLink Runat="server" ID="Top_Class" /> <asp:HyperLink Runat="server" ID="Top_Links" /> <asp:Label Runat="server" ID="Top_DateTime" Style="color:gray;font-size:8pt" />
	</itemtemplate>
	<alternatingitemtemplate>
		<asp:HyperLink Runat="server" ID="Top_Class" /> <asp:HyperLink Runat="server" ID="Top_Links" /> <asp:Label Runat="server" ID="Top_DateTime" Style="color:gray;font-size:8pt" />
	</alternatingitemtemplate>
</asp:DataList>

⌨️ 快捷键说明

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