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

📄 innews.aspx

📁 简单新闻管理系统一个采用Access数据库的新闻管理系统
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="innews.aspx.cs" Inherits="innews" %>

<!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}
.STYLE4 {font-size: 12px; color: #996600; }
.STYLE11 {font-size: 12px; color: #CC0000; }
-->
    </style>
</head>
<body>
<table width="770" border="1" align="center" bordercolor="#996600">
  <tr>
    <td height="1106" valign="top"><table width="770" border="0">
      <tr>
        <td height="21"><table width="770" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="15" height="29" background="image/saz.gif" bgcolor="#FFFFFF">&nbsp;</td>
            <td background="image/saz.gif" bgcolor="#FFFFFF"><span class="STYLE1"><img src="image/7655.jpg" alt="3" width="13" height="11" />新闻资讯尽在其中……</span><span class="STYLE1">国内新闻</span>&nbsp; &nbsp; </td>
            </tr>
        </table></td>
      </tr>
    </table>
      <table width="770" border="0">
        <tr>
          <td><table width="770" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="40" background="image/untitled.gif" style="height: 31px">&nbsp;</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">&nbsp;&nbsp;&nbsp;&nbsp; </td>
              </tr>
          </table></td>
        </tr>
      </table>
      <table width="770" border="0">
        <tr>
          <td height="21"><table width="770" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td><img src="image/p7ssm_loading.gif" alt="3" width="78" height="8" /><img src="image/p7ssm_loading.gif" alt="3" width="78" height="8" /><img src="image/p7ssm_loading.gif" alt="3" width="78" height="8" /><img src="image/p7ssm_loading.gif" alt="3" width="78" height="8" /><img src="image/p7ssm_loading.gif" alt="3" width="78" height="8" /><img src="image/p7ssm_loading.gif" alt="3" width="78" height="8" /><img src="image/p7ssm_loading.gif" alt="3" width="78" height="8" /><img src="image/p7ssm_loading.gif" alt="3" width="78" height="8" /><img src="image/p7ssm_loading.gif" alt="3" width="78" height="8" /></td>
            </tr>
          </table></td>
        </tr>
      </table>
      <table width="770" height="109" border="0">
        <tr>
          <td height="105" background="image/6242.jpg">&nbsp;</td>
        </tr>
      </table>
      <table width="770" height="749" border="0">
        <tr>
          <td height="745" valign="top"><table width="770" border="0">
            <tr>
              <td width="79" align="center" valign="middle" bgcolor="#F7FDD2"><span class="STYLE3">新闻快讯:</span></td>
              <td width="681" bgcolor="#F7FDD2"><a href="txt/2008-09/18/content_16499955.htm" target="_blank" class="STYLE4"><marquee>胡锦涛提出5方面推动中塔关系发展..............十大酒局之冠军:盛唐饮中八仙长安酒会...............2008年环保风暴</marquee></a></td>
            </tr>
          </table>
            <table width="770" height="589" border="0">
              <tr>
                <td width="450" height="585" valign="top"><table width="450" height="578" border="1" bordercolor="#996600">
                  <tr>
                    <td height="572" valign="top"><table width="450" border="0">
                      <tr>
                        <td width="9" height="21">&nbsp;</td>
                        <td width="19" align="center" valign="middle"><img src="image/8.gif" width="11" height="11" /></td>
                        <td width="408"><span class="STYLE3">国内新闻中心<asp:Label ID="Label1" runat="server" Text="2" Visible="False"></asp:Label></span></td>
                      </tr>
                    </table>
                      <table width="450" border="0">
                        <tr>
                          <td background="image/85.gif">&nbsp;</td>
                        </tr>
                      </table>
                      <table width="450" height="514" border="0">
                        <tr>
                          <td height="510" valign="top">&nbsp;<asp:DataList ID="DataList1" runat="server" CellSpacing="8" DataKeyField="News_ID"
                                  DataSourceID="AccessDataSource1" Font-Size="10pt" ForeColor="Red">
                                  <ItemTemplate>
                                      <asp:Image ID="Image1" runat="server" ImageUrl="~/image/dian.gif" />
                                      <asp:HyperLink ID="HyperLink1" runat="server" Font-Size="10pt" ForeColor="Black"
                                          NavigateUrl='<%# Eval("News_ID", "news.aspx?News_ID={0}") %>' Text='<%# Eval("News_Title") %>'></asp:HyperLink>
                                      &nbsp; &nbsp; &nbsp; &nbsp; [浏览<asp:Label ID="Label2" runat="server" Font-Size="10pt"
                                          Text='<%# Eval("News_Hits") %>'></asp:Label>次]
                                  </ItemTemplate>
                              </asp:DataList><asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/App_Data/news.mdb"
                                  SelectCommand="SELECT [News_ID], [Newsclass_ID], [News_Title], [News_AddedUse], [News_AddedTime], [News_Hits] FROM [newsinfo] WHERE ([Newsclass_ID] = ?)">
                                  <SelectParameters>
                                      <asp:ControlParameter ControlID="Label1" Name="Newsclass_ID" PropertyName="Text"
                                          Type="Int32" />
                                  </SelectParameters>
                              </asp:AccessDataSource>
                          </td>
                        </tr>
                      </table></td>
                  </tr>
                </table></td>
                <td width="310" valign="top"><table width="300" border="1" bordercolor="#993300">
                  <tr>
                    <td height="276" align="center" valign="middle"><img src="image/63422.jpg" width="301" height="216" /></td>
                  </tr>
                </table></td>
              </tr>
            </table>
            <table width="770" border="0" align="center">
              <tr>
                <td height="126" background="image/73532.jpg">&nbsp;</td>
              </tr>
            </table></td>
        </tr>
      </table>
      <table width="770" height="38" border="0">
        <tr>
          <td>&nbsp;</td>
        </tr>
      </table>
      <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">
        <tr>
          <td background="image/3.gif">&nbsp;</td>
        </tr>
      </table></td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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