outnews.aspx
来自「简单新闻管理系统一个采用Access数据库的新闻管理系统」· ASPX 代码 · 共 231 行 · 第 1/2 页
ASPX
231 行
<tr>
<td height="40" background="image/7311111444.gif"><table width="252" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="30" height="25"> </td>
<td width="222"><span class="STYLE5">国际政界</span></td>
</tr>
</table></td>
</tr>
</table>
<table width="252" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="283" valign="top"> <asp:DataList ID="DataList2" runat="server" CellSpacing="8" DataKeyField="News_ID"
DataSourceID="AccessDataSource2">
<ItemTemplate>
<asp:Image ID="Image2" runat="server" ImageUrl="~/image/dian1.gif" />
<asp:HyperLink ID="HyperLink2" runat="server" Font-Size="10pt" ForeColor="#C04000"
NavigateUrl='<%# Eval("News_ID", "news.aspx?News_ID={0}") %>' Text='<%# Eval("News_Title") %>'></asp:HyperLink><br />
</ItemTemplate>
</asp:DataList><asp:AccessDataSource ID="AccessDataSource2" runat="server" DataFile="~/App_Data/news.mdb"
SelectCommand="SELECT top 8 [News_ID], [Newsclass_ID], [News_Title] FROM [newsinfo] WHERE ([Newsclass_ID] = ?) ORDER BY [News_AddedTime]">
<SelectParameters>
<asp:ControlParameter ControlID="Label1" Name="Newsclass_ID" PropertyName="Text"
Type="Int32" />
</SelectParameters>
</asp:AccessDataSource>
</td>
</tr>
</table></td>
<td width="259" valign="top"><table width="252" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="40" background="image/7311111444.gif"><table width="252" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="30" height="25"> </td>
<td width="222"><span class="STYLE5">全球军事</span></td>
</tr>
</table></td>
</tr>
</table>
<table width="252" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="285" valign="top"> <asp:DataList ID="DataList3" runat="server" CellSpacing="8"
DataSourceID="AccessDataSource3">
<ItemTemplate>
<asp:Image ID="Image3" runat="server" ImageUrl="~/image/dian1.gif" />
<asp:HyperLink ID="HyperLink3" runat="server" Font-Size="10pt" ForeColor="#C04000"
NavigateUrl='<%# Eval("News_ID", "news.aspx?News_ID={0}") %>' Text='<%# Eval("News_Title") %>'></asp:HyperLink>
</ItemTemplate>
</asp:DataList>
<asp:AccessDataSource ID="AccessDataSource3" runat="server" DataFile="~/App_Data/news.mdb"
SelectCommand="SELECT top 8 [News_ID], [Newsclass_ID], [News_Title], [News_Hits] FROM [newsinfo] WHERE ([Newsclass_ID] = ?) ORDER BY [News_Hits]">
<SelectParameters>
<asp:ControlParameter ControlID="Label1" Name="Newsclass_ID" PropertyName="Text"
Type="Int32" />
</SelectParameters>
</asp:AccessDataSource>
</td>
</tr>
</table></td>
<td width="247" valign="top"><table width="243" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="41" background="image/7311111444.gif"><table width="243" height="27" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="27"> </td>
<td width="216"><span class="STYLE5">世界科技</span></td>
</tr>
</table></td>
</tr>
</table>
<table width="243" height="284" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="284" valign="top"> <asp:DataList ID="DataList4" runat="server" DataKeyField="News_ID" DataSourceID="AccessDataSource4">
<ItemTemplate>
<asp:Image ID="Image3" runat="server" ImageUrl="~/image/dian1.gif" />
<asp:HyperLink ID="HyperLink4" runat="server" Font-Size="10pt" ForeColor="#C04000"
NavigateUrl='<%# Eval("News_ID", "news.aspx?News_ID={0}") %>' Text='<%# Eval("News_Title") %>'></asp:HyperLink><br />
</ItemTemplate>
</asp:DataList><asp:AccessDataSource ID="AccessDataSource4" runat="server" DataFile="~/App_Data/news.mdb"
SelectCommand="SELECT top 8 [News_ID], [Newsclass_ID], [News_Title] FROM [newsinfo] WHERE ([Newsclass_ID] = ?) ORDER BY [News_IsTj], [News_Hits]">
<SelectParameters>
<asp:ControlParameter ControlID="Label1" Name="Newsclass_ID" PropertyName="Text"
Type="Int32" />
</SelectParameters>
</asp:AccessDataSource>
</td>
</tr>
</table></td>
</tr>
</table>
<table width="770" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><table width="770" height="31" border="0">
<tr>
<td height="27" align="center" valign="middle"><span class="STYLE11"><img src="image/logo3.gif" width="23" height="25" />本网站版权归新闻网所有未经书面授权禁止复制或建立镜像 </span></td>
</tr>
</table>
<table width="770" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="770" border="0">
<tr>
<td background="image/3.gif"> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?