?? list.aspx
字號:
<%@ Register TagPrefix="cc1" Namespace="HenryFan.WebControls" Assembly="HenryFan.WebControls" %>
<%@ Page language="c#" Codebehind="list.aspx.cs" AutoEventWireup="false" Inherits="WebNews._4545" %>
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="style.css" type="text/css" rel="stylesheet">
</HEAD>
<body>
<table class="border" cellSpacing="0" cellPadding="0" width="750" align="center">
<tr height="25">
<td class="title" align="middle">
<!--#include file="inc/navClass.aspx"--><FONT face="宋體"></FONT>
</td>
</tr>
<tr>
<td class="tdbg" vAlign="top">
<div align="right"><asp:label id="Label1" runat="server"></asp:label></div>
</td>
</tr>
</table>
<br>
<table cellSpacing="0" cellPadding="0" width="750" align="center" border="0">
<tr vAlign="top" align="left">
<td width="200">
<table class="border" cellSpacing="0" width="95%">
<tr align="middle" height="25">
<td class="title"><b>熱門新聞</b>
</td>
</tr>
<tr>
<td valign="top" class="tdbg">
<form id="fd" runat="server">
<asp:DataList ID="Dlist" Runat=server>
<ItemTemplate>
<img src="pic/bullet.gif"> [<a href="list.aspx?classname=<%#DataBinder.Eval(Container.DataItem, "classname")%>"><%# DataBinder.Eval(Container.DataItem, "classname")%></a>]
<a href="admin/show.aspx?articleid=<%#DataBinder.Eval(Container.DataItem, "articleid")%>"><%# DataBinder.Eval(Container.DataItem, "title")%></a> <br>
(<font color=red><%#DataBinder.Eval(Container.DataItem, "dateandtime")%></font>, <font color=blue><%#DataBinder.Eval(Container.DataItem, "hints")%></font>)
</ItemTemplate>
</asp:DataList>
</td>
</tr>
</table>
</td>
<td>
<table class="border" cellSpacing="0" cellPadding="0" width="100%">
<tr height="25">
<td class="title">>>
<asp:label class="padding:5px,0px" id="NameLabel" runat="server"></asp:label></td>
</tr>
<tr class="tdbg">
<td vAlign="top">
<div align="center">
<cc1:DisPage id="DisPage1" runat="server" Width="325px" PageSize="15" TitleState="Bottom">
<DataTemplate>
<ASP:DATAGRID id="MyDataGrid" runat="server" ItemStyle-CssClass="tdbg" HeaderStyle-CssClass="title" CssClass="border" DataKeyField="articleid" AutoGenerateColumns="False" CellPadding="3" Align="center" Width="600px" AllowPaging="true" PageSize="5" AllowCustomPaging="False">
<ItemStyle HorizontalAlign="left" CssClass="tdbg" VerticalAlign="Middle"></ItemStyle>
<Columns>
<asp:TemplateColumn>
<ItemTemplate>
<img src="pic/bullet2.gif"><%#DataBinder.Eval(Container.DataItem, "title")%>
<div align= right>(<font color="#cc3333"><%#DataBinder.Eval(Container.DataItem, "dateandtime")%></font>, <font color="#3333cc"><%#DataBinder.Eval(Container.DataItem, "hints")%></font>)
[<a href="admin/show.aspx?articleid=<%#DataBinder.Eval(Container.DataItem, "articleid")%>">查看全文</a>]</div>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
<PagerStyle Visible="false"></PagerStyle>
</ASP:DATAGRID>
</DataTemplate>
</cc1:DisPage>
<P></P>
</div>
</form>
</td>
</tr>
</table>
<P>
<P></P>
</td>
</tr>
</table>
<!--#include file="foot.inc" -->
</body>
</HTML>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -