📄 news.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="news.aspx.cs" Inherits="news" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>新闻详细页</title>
<style type="text/css">
<!--
.STYLE1 { font-size: 12px;
color: #CC3300;
}
.STYLE2 { font-size: 12px;
color: #660000;
}
.STYLE3 {font-size: 12px}
.STYLE11 {font-size: 12px; color: #CC0000; }
.STYLE4 { font-size: 12px;
color: #996600;
}
-->
</style>
</head>
<body>
<form runat="server" id="form1">
<table width="770" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#FF9966">
<tr>
<td height="852" valign="top"><table width="770" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="15" height="29" background="image/saz.gif" bgcolor="#FFFFFF"> </td>
<td background="image/saz.gif" bgcolor="#FFFFFF"><span class="STYLE1"><img src="image/7655.jpg" alt="1" width="13" height="11" />新闻资讯尽在其中……</span> </td>
</tr>
</table>
<table width="770" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="770" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="40" background="image/untitled.gif" style="height: 31px"> </td>
<td width="70" align="center" valign="middle" background="image/untitled.gif" style="height: 31px"><span class="STYLE2"><a href="index.aspx" target="_blank">新闻首页</a></span></td>
<td width="70" align="center" valign="middle" background="image/untitled.gif" style="height: 31px"><span class="STYLE2"><a href="innews.aspx" target="_blank">国内新闻</a></span></td>
<td width="70" align="center" valign="middle" background="image/untitled.gif" style="height: 31px"><span class="STYLE2"><a href="outnews.aspx" target="_blank">国际新闻</a></span></td>
<td width="70" align="center" valign="middle" background="image/untitled.gif" style="height: 31px"><span class="STYLE2"><a href="sport.aspx" target="_blank">体育新闻</a></span></td>
<td width="70" align="center" valign="middle" background="image/untitled.gif" style="height: 31px"><span class="STYLE2"><a href="yule.aspx" target="_blank">娱乐新闻</a></span></td>
<td align="center" background="image/untitled.gif" style="height: 31px"> </td>
</tr>
</table>
<table width="770" border="1" cellspacing="0" cellpadding="0">
<tr>
<td><table width="770" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="image/p7ssm_loading.gif" alt="1" width="78" height="8" /><img src="image/p7ssm_loading.gif" alt="1" width="78" height="8" /><img src="image/p7ssm_loading.gif" alt="1" width="78" height="8" /><img src="image/p7ssm_loading.gif" alt="1" width="78" height="8" /><img src="image/p7ssm_loading.gif" alt="1" width="78" height="8" /><img src="image/p7ssm_loading.gif" alt="1" width="78" height="8" /><img src="image/p7ssm_loading.gif" alt="1" width="78" height="8" /><img src="image/p7ssm_loading.gif" alt="1" width="78" height="8" /><img src="image/p7ssm_loading.gif" alt="1" width="78" height="8" /></td>
</tr>
</table></td>
</tr>
</table>
<table width="770" height="98" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="98" background="image/222441.gif"> </td>
</tr>
</table>
<table width="770" height="32" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="18" height="32" background="image/zaq3.gif"> </td>
<td width="752" background="image/zaq3.gif"><span class="STYLE3">新闻网欢迎您!关注新闻点滴 知晓天下事</span></td>
</tr>
</table>
<table width="770" height="521" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="521" valign="top"> <asp:DataList ID="DataList1" runat="server" DataKeyField="News_ID" DataSourceID="AccessDataSource1">
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Font-Size="11pt" Text='<%# Eval("News_Title") %>'></asp:Label>
[<asp:Label ID="Label4" runat="server" Font-Size="10pt" Text='<%# Eval("News_AddedTime") %>'></asp:Label>]<br />
<br />
<div style="width: 732px; line-height: 20pt; height: 736px">
<asp:Label ID="Label2" runat="server" Text="Label" Visible="False"></asp:Label>
<asp:Label ID="Label3" runat="server" Font-Size="10pt" ForeColor="#C04000" Text='<%# Eval("News_Content", "{0}") %>'></asp:Label></div>
</ItemTemplate>
</asp:DataList><asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/App_Data/news.mdb"
SelectCommand="SELECT [News_ID], [Newsclass_ID], [News_Title], [News_Content], [News_AddedTime] FROM [newsinfo] WHERE ([News_ID] = ?)">
<SelectParameters>
<asp:QueryStringParameter Name="News_ID" QueryStringField="News_ID" Type="Int32" />
</SelectParameters>
</asp:AccessDataSource>
</td>
</tr>
</table>
<table width="770" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"> </td>
<td style="width: 759px"><img src="image/top_img_02.gif" width="400" height="40" />
<asp:Label ID="Label5" runat="server" Font-Size="10pt" ForeColor="#C00000" Text="Label"></asp:Label>
</td>
</tr>
</table>
<table width="770" height="208" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="115" valign="top" style="width: 777px"><table width="770" border="0">
<tr>
<td height="21" background="image/1.gif"> </td>
</tr>
</table>
<table width="770" border="0">
<tr>
<td width="200" align="right"><span class="STYLE3">新闻标题:</span></td>
<td width="560"> <asp:TextBox ID="TextBox2" runat="server" Width="270px"></asp:TextBox></td>
</tr>
</table>
<table width="770" height="114" border="0">
<tr>
<td width="200" height="98" valign="top"><table width="200" border="0">
<tr>
<td align="right"><span class="STYLE3">内容:</span></td>
</tr>
</table></td>
<td width="560" valign="top"> <asp:TextBox ID="TextBox1" runat="server" Height="92px" TextMode="MultiLine"
Width="533px"></asp:TextBox></td>
</tr>
</table>
<table width="770" border="0">
<tr>
<td width="350"> </td>
<td width="110"> <asp:LinkButton ID="LinkButton1" runat="server" Font-Size="10pt" ForeColor="#404000"
OnClick="LinkButton1_Click" Width="58px">取消</asp:LinkButton></td>
<td width="296"> <asp:LinkButton ID="LinkButton2" runat="server" Font-Size="10pt" ForeColor="#404000"
OnClick="LinkButton2_Click" Width="50px">提交</asp:LinkButton></td>
</tr>
</table></td>
</tr>
</table>
<table width="770" height="31" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><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="STYLE4">互联网出版许可证 新出网证(粤)004号copyriht©2003-2008 by www.sznews.com </span></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -