📄 more.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="more.aspx.cs" Inherits="more" %>
<!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 id="Head1" runat="server">
<title>无标题页</title>
<style type="text/css">
<!--
.STYLE1 {color: #000000}
#Layer1 {
position:absolute;
left:16px;
top:135px;
width:160px;
height:243px;
z-index:1;
}
.STYLE4 {font-size: 14px}
.STYLE5 {
font-size: x-large;
font-weight: bold;
}
.STYLE6 {font-size: xx-large}
.STYLE7 {font-size: xx-large; font-family: "黑体"; }
-->
</style>
</head>
<body>
<form id="Form1" runat=server>
<table width="997" border="1" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="995" height="93"><span class="STYLE1">新闻后台管理系统</span></td>
</tr>
</table>
<table width="995" border="1" cellpadding="0" cellspacing="0" bordercolor="#999999">
<!--DWLayoutTable-->
<tr>
<td valign="top" style="height: 264px" colspan="3"><span class="STYLE4">您的位置>><a href="index.aspx">首页</a> >>新闻列表</span><br />
<table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC">
<tr>
<td width="11%" bgcolor="#CCCCCC" style="height: 36px"> </td>
<td width="78%" rowspan="3" align="center" style="height: 36px"> <p style="text-align: left">
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="4"
DataSourceID="SqlDataSource1" ForeColor="#333333" GridLines="None"
PageSize="20" Style="font-size: 10pt;
font-family: 宋体, 黑体" Width="769px">
<FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<Columns>
<asp:HyperLinkField DataNavigateUrlFields="newsid" DataNavigateUrlFormatString="~\detail.aspx?newsid={0}"
DataTextField="newsbiaoti" HeaderText="新闻标题" />
<asp:BoundField DataField="newstime" HeaderText="发表时间" />
<asp:BoundField DataField="newsid" HeaderText="newsid" Visible="False" />
</Columns>
<RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
<EditRowStyle BackColor="#999999" />
<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
<PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
<HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" HorizontalAlign="Left" />
<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:loginConnectionString %>"
SelectCommand="SELECT * FROM [news]"></asp:SqlDataSource>
</p></td>
<td width="11%" bgcolor="#CCCCCC" style="height: 36px"> </td>
</tr>
<tr>
<td bgcolor="#CCCCCC" style="height: 30px"> </td>
<td bgcolor="#CCCCCC" style="height: 30px"> </td>
</tr>
<tr>
<td bgcolor="#CCCCCC" style="height: 86px"> </td>
<td bgcolor="#CCCCCC" style="height: 86px"> </td>
</tr>
</table>
</td></tr>
<tr>
<td height="69" colspan="3" valign="top">
</td>
</tr>
<tr><td height="1"></td><td style="width: 404px; text-align: center;">
<span style="font-family: 宋体">All Rights reserved ©<br />
新闻发布系统 版权所有</span>
</td>
<td></td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -