📄 adminnotics.aspx
字号:
<%@ Page Language="C#" MasterPageFile ="~/Admin.master" AutoEventWireup="true" CodeFile="adminnotics.aspx.cs" Inherits="adminnotics" Title ="寝室公告栏管理" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF" class="tableBorder" style="width: 97%">
<tr bordercolor="#000000" bgcolor="#000000"><th colspan=9 class="tableHeaderText" style="height: 26px"> 寝室管理->寝室公告栏管理(单击"编号"可以编辑该通知) <a href ="adminnoticsadd.aspx" style="color: white">添加公告</a> </th></tr>
<tr bordercolor="#000000" bgcolor="#000000"><td align=center class="forumRow" colspan="2" rowspan="5" style="height: 11px; width: 987px;">
<asp:Label ID="Label2" runat="server" ForeColor="Red" Style="font-weight: bold"></asp:Label><asp:Label ID="labmessage" runat="server" Style="font-weight: bold; font-size: 14px;
color: red"></asp:Label>
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/adminnoticsadd.aspx"
Style="font-weight: normal; font-size: 14px; color: black; text-decoration: none"
Visible="False">添加公告</asp:HyperLink><br />
<asp:Panel ID="Panel1" runat="server" Height="50px" Width="125px">
<table border="0" style="width: 962px">
<tr>
<td style="height: 14px">
<div align="center">
<asp:DataGrid style="font-size: 14px" AllowPaging="True" AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" GridLines="None" Height="91px" ID="mydatagrid3" OnDeleteCommand="mydatagrid3_DeleteCommand" OnItemDataBound="mydatagrid3_ItemDataBound" OnPageIndexChanged="mydatagrid3_PageIndexChanged" runat="server" Width="985px">
<FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
<EditItemStyle BackColor="#C0FFFF" />
<SelectedItemStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
<PagerStyle BackColor="LightBlue" Font-Bold="False" Font-Italic="False" Font-Overline="False"
Font-Strikeout="False" Font-Underline="False" ForeColor="Black" HorizontalAlign="Center"
NextPageText="下一页" PrevPageText="上一页" />
<AlternatingItemStyle BackColor="White" />
<ItemStyle BackColor="#E3EAEB" />
<HeaderStyle BackColor="#0066FF" Font-Bold="True" Font-Italic="False" Font-Overline="False"
Font-Strikeout="False" Font-Underline="False" ForeColor="White" />
<Columns>
<asp:HyperLinkColumn DataNavigateUrlField="id" DataNavigateUrlFormatString="adminnoticsedit.aspx?id={0}"
DataTextField="id" HeaderText="编号">
<HeaderStyle Width="40px" />
</asp:HyperLinkColumn>
<asp:BoundColumn DataField="content" HeaderText="通知内容">
<HeaderStyle Width="575px" />
</asp:BoundColumn>
<asp:BoundColumn DataField="username" HeaderText="编写人">
<HeaderStyle Width="55px" />
</asp:BoundColumn>
<asp:BoundColumn DataField="datatime" HeaderText="编写时间">
<HeaderStyle Width="80px" />
</asp:BoundColumn>
<asp:BoundColumn DataField="show" HeaderText="是/否在前台页面显示">
<HeaderStyle Width="135px" />
</asp:BoundColumn>
<asp:ButtonColumn CommandName="Delete" HeaderText="删除" Text="删除">
<HeaderStyle Width="40px" />
</asp:ButtonColumn>
</Columns>
</asp:DataGrid> </div>
</td>
</tr>
<tr>
<td nowrap="nowrap" style="height: 17px">
<div align="left">
<marquee scrollamount="3" > <asp:Label ID="Label1" runat="server" ForeColor="Red" Style="font-weight: bold; color: red"
Text="重要说明:"></asp:Label>"1" 表示在前台显示该公告;"0" 则不显示.</marquee> </div>
</td>
</tr>
</table>
</asp:Panel>
</td></tr>
</table>
</asp:Content>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -