📄 adminnoticsedit.aspx
字号:
<%@ Page Language="C#" MasterPageFile ="~/Admin.master" AutoEventWireup="true" CodeFile="adminnoticsedit.aspx.cs" Inherits="adminnoticsedit" Title ="寝室公告栏编辑" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF" class="tableBorder">
<tr bordercolor="#000000" bgcolor="#000000"><th colspan=9 class="tableHeaderText" style="height: 26px"> 寝室管理->寝室公告栏编辑</th></tr>
<tr bordercolor="#000000" bgcolor="#000000">
<td align="right" class="forumRow" style="height: 11px; width: 387px;">
编号:</td>
<td class="forumRow" style="height: 11px">
<asp:Label ID="Label1" runat="server" Style="font-size: 14px" Text="Label"></asp:Label></td></tr>
<tr bordercolor="#000000" bgcolor="#000000"><td align=right class="forumRow" style="width: 387px; height: 5px;">
编写人:</td><td class="forumRow" style="height: 5px; color: red;">
<asp:TextBox ID="txtusername" runat="server" ReadOnly="True"></asp:TextBox>该项不能编辑</td></tr>
<tr bordercolor="#000000" bgcolor="#000000"><td align="right" class="forumRow" style="width: 387px; height: 153px;">
公告内容:</td><td class="forumRow" style="height: 153px">
<asp:TextBox ID="content" runat="server" Height="165px" TextMode="MultiLine" Width="232px"></asp:TextBox><asp:RequiredFieldValidator
ID="RequiredFieldValidator6" runat="server" ControlToValidate="content" Display="Dynamic"
ErrorMessage="RequiredFieldValidator">"公告内容"要输入哦!</asp:RequiredFieldValidator><asp:CustomValidator
ID="CustomValidator1" runat="server" ControlToValidate="content" Display="Dynamic"
ErrorMessage="CustomValidator" OnServerValidate="CustomValidator1_ServerValidate">该公告内容已经存在了</asp:CustomValidator><asp:RegularExpressionValidator
ID="RegularExpressionValidator1" runat="server" ControlToValidate="content"
Display="Dynamic" ErrorMessage="RegularExpressionValidator" ValidationExpression=".{10,150}">输入的内容必须在(10-150)之间</asp:RegularExpressionValidator></td></tr>
<tr bgcolor="#000000" bordercolor="#000000">
<td align="right" class="forumRow" style="width: 387px; height: 1px">
是/否在前台页面显示:</td>
<td class="forumRow" style="height: 1px">
<asp:Label ID="Label4" runat="server" BackColor="#C0C0FF" Height="17px" Style="font-weight: bold;
text-align: center" Width="59px"></asp:Label>
<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" BackColor="#C0C0FF"
Height="6px" Style="font-weight: bold; vertical-align: middle; text-align: center"
Width="69px">
<asp:ListItem Selected="True">请选择</asp:ListItem>
<asp:ListItem>1</asp:ListItem>
<asp:ListItem>0</asp:ListItem>
</asp:DropDownList></td>
</tr>
<tr bgcolor="#000000" bordercolor="#000000">
<td align="left" class="forumRow" colspan="2">
<asp:Label ID="Label3" runat="server" ForeColor="Red" Style="font-weight: bold; color: red"
Text="重要说明:"></asp:Label>"1" 表示在前台显示该公告;"0" 则不显示.</td>
</tr>
<tr bordercolor="#000000" bgcolor="#000000">
<td class="forumRowHighlight" align="center" colspan="2" rowspan="5">
<asp:Label ID="Label2" runat="server" Style="font-weight: bold; font-size: 14px;
color: red"></asp:Label>
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/adminnotics.aspx"
Visible="False">返回看看</asp:HyperLink></td></tr>
<tr bordercolor="#000000" bgcolor="#000000"></tr>
<tr bordercolor="#000000" bgcolor="#000000"></tr>
<tr bordercolor="#000000" bgcolor="#000000"></tr>
<tr bordercolor="#000000" bgcolor="#000000"></tr>
<tr bordercolor="#000000" bgcolor="#000000"><td align="center" colspan=2 class="forumRow">
<asp:Button ID="Button1" runat="server" Text=" 编 辑 " OnClick="Button1_Click" Width="59px" /></td></tr>
</table>
<br />
<table align="center" border="0" cellpadding="3" cellspacing="1" class="tableBorder"
style="width: 98%">
<tr>
<th class="tableHeaderText" colspan="3" height="25">
学生寝室管理系统</th>
</tr>
<tr>
<td align="right" class="forumRow" height="23" style="width: 442px">
程序开发:</td>
<td class="forumRow" colspan="2">
浪漫雪弧</td>
</tr>
<tr>
<td align="right" class="forumRow" height="23" style="width: 442px">
程序负责:</td>
<td class="forumRow" colspan="2">
一半情弧</td>
</tr>
<tr>
<td align="right" class="forumRow" height="23" style="width: 442px">
联系方法:</td>
<td class="forumRow" colspan="2">
QQ 562873726</td>
</tr>
</table>
</asp:Content>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -