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

📄 news.aspx

📁 企业网站管理系统(C#.NET2003开发),供初学者学习!
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="News.aspx.cs" Inherits="News" %>
<%@ Register Src="Controllers/Bottom.ascx" TagName="Bottom" TagPrefix="uc4" %>
<%@ Register Src="Controllers/Top.ascx" TagName="Top" TagPrefix="uc1" %>
<%@ Register Src="Controllers/Left.ascx" TagName="Left" TagPrefix="uc2" %>
<html>
<head>
<title><%=Titlep %></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta content="<%= Descriptionp%>" name="description"/>
<meta content="<%=Keywordsp %>" name="keywords" />
<link href="Images/css.css" rel="stylesheet" type="text/css" />
</head>
<body style="text-align: center">
<form runat=server>
    <table border="0" align="center" cellpadding="0" cellspacing="0" style="width: 778px">
        <tr>
            <td style="width: 100px">
                <uc1:Top ID="Top1" runat="server" />
            </td>
        </tr>
</table>
    <table border="0" align="center" cellpadding="0" cellspacing="0" style="width: 778px; background-color: #ffffff;">
        <tr>
            <td style="height: 395px">
                <table border="0" cellpadding="0" cellspacing="0" style="width: 778px">
                    <tr>
                      <td width="183" align="left" valign="top"><table width="183" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td><div align="left">
                              <uc2:Left ID="Left1" runat="server" />
                          </div></td>
                        </tr>
                      </table></td>
                      <td width="595" valign="top"><div align="center">
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td>&nbsp;</td>
    </tr>
  </table>
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><img src="Images/37.jpg"></td>
    </tr>
  </table>
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td>&nbsp;</td>
    </tr>
  </table><asp:DataGrid ID="NewGrid" runat="server" Height="1px" Width="237px" AllowPaging="True" PageSize="2" OnPageIndexChanged="DataGrid1_Page" PagerStyle-HorizontalAlign="Right" AutoGenerateColumns="False" BorderWidth="0px" ShowHeader="False" CellPadding="0" GridLines="None" OnSelectedIndexChanged="NewGrid_SelectedIndexChanged">
						  <Columns>
						  <asp:TemplateColumn>
						 <ItemTemplate>
						   <table width="560" border="0" cellspacing="6" cellpadding="0">
    <tr>
      <td width="20" style="height: 24px"><div align="center"><img src="Images/35.jpg" width="11" height="13"></div></td>
      <td width="403" class="text03" style="height: 24px"><a href="News_More.aspx?ID=<%#DataBinder.Eval(Container.DataItem,"id")%>"><%#DataBinder.Eval(Container.DataItem,"title")%></a></td>
      <td width="77" class="text03" style="height: 24px">[<%#DataBinder.Eval(Container.DataItem, "pub_date", "{0:d}")%>]
      </td>
    </tr>

  </table>
						  </ItemTemplate>
                              <HeaderStyle Width="12px" />
						  </asp:TemplateColumn>
						  </Columns>
                              <PagerStyle NextPageText="下一页" PrevPageText="上一页" HorizontalAlign="Right" />
                          </asp:DataGrid><br />
                          <br />
                          &nbsp;</div>
</td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td style="width: 100px">
                <uc4:Bottom ID="Bottom1" runat="server" />
            </td>
        </tr>
</table></form>
</body>
</html>

⌨️ 快捷键说明

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