📄 newslistmanager.aspx
字号:
<%@ page language="C#" autoeventwireup="true" inherits="Manager_NewsListManager, App_Web_oydcdncp" %>
<%@ Register Src="Column.ascx" TagName="Column" TagPrefix="uc1" %>
<!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>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<uc1:Column ID="Column1" runat="server" />
<a href="NewsColumnManager.aspx">新闻栏目管理</a>--新闻列表管理
<asp:DataGrid ID="dgdNewsList" runat="server" AutoGenerateColumns="False" OnItemDataBound="dgdNewsList_ItemDataBound" AllowPaging="True" OnItemCommand="dgdNewsList_ItemCommand" OnPageIndexChanged="dgdNewsList_PageIndexChanged" Height="718px" Width="616px">
<Columns>
<asp:BoundColumn DataField="newsTitle" HeaderText="文章标题"></asp:BoundColumn>
<asp:BoundColumn DataField="newsCreateTime" HeaderText="创建时间"></asp:BoundColumn>
<asp:BoundColumn DataField="newsAuthor" HeaderText="作者"></asp:BoundColumn>
<asp:BoundColumn DataField="newsHit" HeaderText="文章点击率"></asp:BoundColumn>
<asp:TemplateColumn HeaderText="文章操作">
<ItemTemplate>
<asp:Button ID="btnDelete" runat="server" Text="删除" CommandName="Delete" />
<asp:Button ID="btnUpdate" runat="server" Text="修改" CommandName="Update"/>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="公告操作">
<ItemTemplate>
<asp:Button ID="btnAdd" runat="server" Text="添加到公告" CommandName="Add" />
<asp:Button ID="btnRemove" runat="server" Text="从公告移除" CommandName="Remove" />
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
<FooterStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" HorizontalAlign="Center" />
<PagerStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" HorizontalAlign="Right" NextPageText="下一页" PrevPageText="上一页" />
<HeaderStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" HorizontalAlign="Center" />
</asp:DataGrid></div>
<asp:Button ID="btnInsert" runat="server" Text="新增" OnClick="btnInsert_Click" />
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -