📄 newsmanage.aspx
字号:
<%@ Page language="c#" Codebehind="NewsManage.aspx.cs" AutoEventWireup="false" Inherits="Hr.NewsManage" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>ShowUserOrders</title>
<meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<LINK href="css.css" type="text/css" rel="stylesheet">
<LINK href="style2.css" type="text/css" rel="stylesheet">
</HEAD>
<body MS_POSITIONING="GridLayout">
<FONT face="宋体"><FONT face="宋体">
<FORM id="Form1" method="post" runat="server">
<FONT face="宋体">
<TABLE id="Table1" style="WIDTH: 100%; HEIGHT: 100%" cellSpacing="0" cellPadding="0" border="0">
<TR>
<TD width="202" height="700"><iframe id="iFrame1" style="BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BORDER-BOTTOM-STYLE: none"
tabIndex="0" marginWidth="0" marginHeight="0" src="left.aspx" frameBorder="0" width="100%" height="100%">
</iframe>
</TD>
<TD vAlign="top" noWrap align="center"><FONT face="宋体">
<TABLE id="Table3" cellSpacing="0" cellPadding="0" width="60%" align="center" border="0">
<TR>
<TD style="HEIGHT: 20px" noWrap colSpan="3" height="26"></TD>
</TR>
<tr>
<td align="center"><asp:label id="Label1" runat="server" Font-Size="Small" Width="160px" Font-Bold="True"></asp:label></td>
</tr>
<TR>
<TD style="HEIGHT: 20px" noWrap colSpan="3" height="26"></TD>
</TR>
<TR>
<TD noWrap colSpan="3"><asp:datagrid id="DataGrid1" runat="server" Font-Size="X-Small" Width="644px" AllowPaging="True"
AllowSorting="True" PageSize="3" AutoGenerateColumns="False" BorderColor="DarkGray" BackColor="White" CellPadding="3"
BorderWidth="2px" BorderStyle="Groove" align="middle" ShowFooter="True" Height="104px">
<SelectedItemStyle Font-Underline="True" Font-Bold="True" ForeColor="#F7F7F7" BackColor="#738A9C"></SelectedItemStyle>
<AlternatingItemStyle BorderColor="#804000" BackColor="#F7F7F7"></AlternatingItemStyle>
<ItemStyle ForeColor="#4A3C8C" BorderColor="DarkGray" BackColor="White"></ItemStyle>
<HeaderStyle Font-Size="Small" Font-Names="宋体" Wrap="False" BorderWidth="5px" ForeColor="Black"
BorderColor="Magenta" BackColor="#00C0C0"></HeaderStyle>
<FooterStyle Font-Size="Small" ForeColor="White" BackColor="Ivory"></FooterStyle>
<Columns>
<asp:BoundColumn DataField="Id" SortExpression="Id" HeaderText="新闻编号">
<HeaderStyle HorizontalAlign="Center" Width="60px"></HeaderStyle>
<ItemStyle HorizontalAlign="Center" Width="60px"></ItemStyle>
</asp:BoundColumn>
<asp:HyperLinkColumn Target="_blank" DataNavigateUrlField="Id" DataNavigateUrlFormatString="ShowNews.aspx?NewsId={0}"
DataTextField="title" SortExpression="title" HeaderText="标题">
<HeaderStyle HorizontalAlign="Center" Width="100px"></HeaderStyle>
<ItemStyle HorizontalAlign="Center" Width="100px"></ItemStyle>
</asp:HyperLinkColumn>
<asp:BoundColumn DataField="source" SortExpression="source" HeaderText="来源">
<HeaderStyle HorizontalAlign="Center" Width="60px"></HeaderStyle>
<ItemStyle HorizontalAlign="Center" Width="60px"></ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="publicDate" SortExpression="publicDate" HeaderText="发布日期">
<HeaderStyle HorizontalAlign="Center" Width="120px"></HeaderStyle>
<ItemStyle HorizontalAlign="Center" Width="120px"></ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="hits" SortExpression="hits" HeaderText="点击率">
<HeaderStyle HorizontalAlign="Center" Width="60px"></HeaderStyle>
<ItemStyle HorizontalAlign="Center" Width="60px"></ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="picture" HeaderText="图片连接">
<HeaderStyle HorizontalAlign="Center" Width="60px"></HeaderStyle>
<ItemStyle HorizontalAlign="Center" Width="60px"></ItemStyle>
</asp:BoundColumn>
<asp:ButtonColumn Text="删除" CommandName="Delete">
<HeaderStyle HorizontalAlign="Center" Width="40px"></HeaderStyle>
<ItemStyle HorizontalAlign="Center" Width="40px"></ItemStyle>
</asp:ButtonColumn>
</Columns>
<PagerStyle NextPageText="下一页&gt;" BorderWidth="1px" Font-Size="Smaller" BorderColor="Magenta"
PrevPageText="上一页&lt;" HorizontalAlign="Right" ForeColor="White" BackColor="#FFC080"
Mode="NumericPages"></PagerStyle>
</asp:datagrid></TD>
</TR>
</TABLE>
<asp:label id="lblInfo" runat="server" Font-Size="X-Small" Width="467px" ForeColor="Blue"></asp:label></FONT></TD>
</TR>
</TABLE>
</FONT>
</FORM>
</FONT></FONT>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -