📄 index.aspx
字号:
<SelectParameters>
<asp:ControlParameter ControlID="Label5" Name="Newsclass_ID" PropertyName="Text"
Type="Int32" />
</SelectParameters>
</asp:AccessDataSource>
</td>
</tr>
</table></td>
</tr>
</table></td>
<td width="240" valign="top"><table width="240" height="30" border="0" cellpadding="0" cellspacing="0">
<tr>
<td background="image/saz.gif" bgcolor="#F9FEDE"><img src="image/untmkitled.gif" width="9" height="12" class="a1" /><span class="STYLE6">体育资讯</span></td>
</tr>
</table>
<table width="240" height="148" border="0" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#F7F7F7" style="vertical-align: top"> <asp:DataList ID="DataList2" runat="server" DataKeyField="News_ID" DataSourceID="AccessDataSource2" CellSpacing="5">
<ItemTemplate>
<asp:Image ID="Image2" runat="server" ImageUrl="~/image/102.gif" />
<asp:HyperLink ID="HyperLink2" runat="server" Font-Size="10pt" NavigateUrl='<%# Eval("News_ID", "news.aspx?News_ID={0}") %>'
Text='<%# Eval("News_Title", "{0}") %>' ForeColor="#804000"></asp:HyperLink><br />
</ItemTemplate>
</asp:DataList><asp:AccessDataSource ID="AccessDataSource2" runat="server" DataFile="~/App_Data/news.mdb"
SelectCommand="SELECT top 4 [News_ID], [Newsclass_ID], [News_Title] FROM [newsinfo] WHERE ([Newsclass_ID] = ?)">
<SelectParameters>
<asp:ControlParameter ControlID="Label3" Name="Newsclass_ID" PropertyName="Text"
Type="Int32" />
</SelectParameters>
</asp:AccessDataSource>
</td>
</tr>
</table>
<table width="240" height="31" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="31" background="image/saz.gif" bgcolor="#F9FEDE"><img src="image/untmkitled.gif" width="9" height="12" class="a1" /><span class="STYLE6">新闻娱乐</span></td>
</tr>
</table>
<table width="240" height="314" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="314" bgcolor="#F7F7F7" style="vertical-align: top"> <asp:DataList ID="DataList3" runat="server" DataKeyField="News_ID" DataSourceID="AccessDataSource3" CellSpacing="5">
<ItemTemplate>
<asp:Image ID="Image3" runat="server" ImageUrl="~/image/20060905030521360.gif" />
<asp:HyperLink ID="HyperLink3" runat="server" Font-Size="10pt" ForeColor="#804000"
NavigateUrl='<%# Eval("News_ID", "news.aspx?News_ID={0}") %>' Text='<%# Eval("News_Title", "{0}") %>'></asp:HyperLink><br />
</ItemTemplate>
</asp:DataList><asp:AccessDataSource ID="AccessDataSource3" runat="server" DataFile="~/App_Data/news.mdb"
SelectCommand="SELECT [News_ID], [Newsclass_ID], [News_Title] FROM [newsinfo] WHERE ([Newsclass_ID] = ?)">
<SelectParameters>
<asp:ControlParameter ControlID="Label4" Name="Newsclass_ID" PropertyName="Text"
Type="Int32" />
</SelectParameters>
</asp:AccessDataSource>
</td>
</tr>
</table></td>
</tr>
</table>
<table width="766" border="2" align="center" cellpadding="0" cellspacing="0" bordercolor="#E4E4CB">
<tr>
<td height="138" align="left" valign="top" bgcolor="#FFFFFF">.....<img src="image/5393972_348764.gif" width="160" height="121" />..... <img src="image/5439786_488687.gif" width="160" height="120" />..... <img src="image/5414411_153834.gif" width="160" height="120" /> ..... <img src="image/5389750_610568.gif" width="160" height="120" />.</td>
</tr>
</table>
<table width="770" height="33" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="33" valign="top" background="image/zaq3.gif"><table width="770" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="10" height="23" background="image/7.gif"> </td>
<td width="20" align="center" valign="middle" background="image/7.gif"><img src="image/8.gif" width="11" height="11" /></td>
<td width="740" background="image/7.gif"><span class="STYLE5">最新新闻</span></td>
</tr>
</table></td>
</tr>
</table>
<table width="770" height="196" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="74" height="40" bgcolor="#FFFFFF" style="vertical-align: top">
<asp:Image ID="Image5" runat="server" ImageUrl="~/image/U26P4T47D9320F967DT20080901164640.jpg" /></td>
<td width="696" valign="top" bgcolor="#FFFFFF" style="vertical-align: top"> <asp:DataList ID="DataList5" runat="server" DataKeyField="News_ID" DataSourceID="AccessDataSource5" Font-Size="10pt" ForeColor="#804000">
<ItemTemplate>
<asp:Image ID="Image6" runat="server" ImageUrl="~/image/untmkitled.gif" />
<asp:HyperLink ID="HyperLink5" runat="server" Font-Size="10pt" NavigateUrl='<%# Eval("News_ID", "news.aspx?News_ID={0}") %>'
Text='<%# Eval("News_Title", "{0}") %>' ForeColor="#804000"></asp:HyperLink>
添加:
<asp:HyperLink ID="HyperLink6" runat="server" Font-Size="10pt" Text='<%# Eval("News_AddedUse") %>' ForeColor="#804000"></asp:HyperLink>
时间:
<asp:Label ID="Label6" runat="server" Font-Size="10pt" Text='<%# Eval("News_AddedTime") %>' ForeColor="#804000"></asp:Label><br />
<br />
</ItemTemplate>
</asp:DataList><asp:AccessDataSource ID="AccessDataSource5" runat="server" DataFile="~/App_Data/news.mdb"
SelectCommand="SELECT top 7 [News_ID], [Newsclass_ID], [News_Title], [News_AddedUse], [News_AddedTime] FROM [newsinfo] ORDER BY [News_AddedTime] DESC">
</asp:AccessDataSource>
</td>
</tr>
</table>
<table width="770" height="32" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" background="image/zaq3.gif"><table width="770" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="12" height="26" background="image/7.gif"> </td>
<td width="22" align="center" valign="middle" background="image/7.gif"><img src="image/8.gif" width="11" height="11" /></td>
<td width="736" align="left" valign="middle" background="image/7.gif"><span class="STYLE7">热点新闻</span></td>
</tr>
</table></td>
</tr>
</table>
<table width="770" height="179" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="74" valign="top" bgcolor="#FFFFFF"> <asp:Image ID="Image7" runat="server" ImageUrl="~/image/U26P4T47D9320F968DT20080901164640.jpg" /></td>
<td width="696" valign="top" bgcolor="#FFFFFF"> <asp:DataList ID="DataList6" runat="server" DataKeyField="News_ID" DataSourceID="AccessDataSource6"
Font-Size="10pt" ForeColor="#804000" CellSpacing="10">
<ItemTemplate>
<asp:Image ID="Image8" runat="server" ImageUrl="~/image/untmkitled.gif" />
<asp:HyperLink ID="HyperLink7" runat="server" NavigateUrl='<%# Eval("News_ID", "news.aspx?News_ID={0}") %>'
Text='<%# Eval("News_Title", "{0}") %>' ForeColor="#804000"></asp:HyperLink>
时间:<asp:Label ID="Label7" runat="server" Text='<%# Eval("News_AddedTime") %>'></asp:Label>
浏览次数:<asp:Label ID="Label8" runat="server" Text='<%# Eval("News_Hits") %>'></asp:Label><br />
</ItemTemplate>
</asp:DataList><asp:AccessDataSource ID="AccessDataSource6" runat="server" DataFile="~/App_Data/news.mdb"
SelectCommand="SELECT top 10 [News_ID], [Newsclass_ID], [News_Title], [News_AddedTime], [News_Hits] FROM [newsinfo] ORDER BY [News_Hits] DESC">
</asp:AccessDataSource>
</td>
</tr>
</table>
<table width="770" height="19" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="19" background="image/85.gif"> </td>
</tr>
</table>
<table width="770" height="59" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="250" height="59" align="center" valign="middle" bgcolor="#FFFFFF"><img src="image/2008042900001.jpg" width="180" height="109" /></td>
<td width="520" valign="top"><table width="520" height="28" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="28" bgcolor="#FFFFFF"> </td>
</tr>
</table>
<table width="520" height="22" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="22" align="center" valign="middle" bgcolor="#FFFFFF"><span class="STYLE11">本网站版权归新闻网所有,<a href="http://www.51aspx.com/CV/AccessNews" target="_blank" title="Asp.net源码下载专业站">download from 51aspx.com</a>
</span></td>
</tr>
</table>
<table width="520" height="20" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="20" align="center" valign="middle" bgcolor="#FFFFFF"><span class="STYLE11">未经书面授权禁止复制或建立镜像 </span></td>
</tr>
</table>
<table width="520" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" bgcolor="#FFFFFF"><span class="STYLE3">互联网出版许可证 新出网证(粤)004号copyriht©2003-2008 by www.sznews.com </span></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -