Notice.aspx
资源名称:yjal.rar [点击查看]
上传用户:shjujing
上传日期:2022-07-28
资源大小:11244k
文件大小:6k
源码类别:
Email客户端
开发平台:
Visual C++
- <%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" CodeFile="Notice.aspx.cs" Inherits="Module_Admin_SysInfo_AddNotice" %>
- <!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>添加通知</title>
- </head>
- <body style=" text-align: center; background-image: url(../../Images/SysSkin/notice.jpg); background-repeat: no-repeat;">
- <form id="form1" runat="server">
- <br />
- <br />
- <table style="width="605">
- <tr>
- <td colspan="3" style="height: 21px">
- <asp:Panel ID="Panel2" runat="server" Height="50px" Width="125px">
- <table cellpadding="0" cellspacing="0" style="height: 113px" width="605">
- <tr>
- <td colspan="3">
- <table cellpadding="0" cellspacing="0" style="width: 600px">
- <tr>
- <td style="width: 100px; height: 23px">
- <span style="font-size: 9pt">查找类别</span></td>
- <td style="width: 120px; height: 23px; text-align: left">
- <asp:DropDownList ID="dropClass" runat="server" Font-Size="9pt" Width="120px">
- <asp:ListItem>公告ID</asp:ListItem>
- <asp:ListItem>公告主题</asp:ListItem>
- <asp:ListItem>发表人</asp:ListItem>
- </asp:DropDownList></td>
- <td style="width: 100px; height: 23px">
- <span style="font-size: 9pt">关键字</span></td>
- <td style="width: 120px; height: 23px; text-align: left">
- <asp:TextBox ID="txtKeyWord" runat="server" Font-Size="9pt" Width="120px"></asp:TextBox></td>
- <td style="width: 24px; height: 23px">
- <asp:Button ID="btnFind" runat="server" Font-Size="9pt" OnClick="btnFind_Click" Text="查找" /></td>
- <td style="width: 110px; height: 23px">
- <asp:LinkButton ID="lnkbtnAdd" runat="server" Font-Size="9pt" Font-Underline="False"
- ForeColor="#FF3333" OnClick="lnkbtnAdd_Click1" Visible="False">添加新公告</asp:LinkButton></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td colspan="3" style="vertical-align: top; text-align: center">
- </td>
- </tr>
- </table>
- </asp:Panel>
- <asp:Panel ID="Panel1" runat="server" Height="50px" Visible="False" Width="125px">
- <table cellpadding="0" cellspacing="0" style=" height: 256px; width: 538px;">
- <tr>
- <td style="width: 5963px; height: 22px">
- <span style="font-size: 9pt">公告主题</span></td>
- <td colspan="1" style="width: 477px; height: 22px; text-align: left">
- <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
- ControlToValidate="txtSubject" ErrorMessage="主题不能为空">*</asp:RequiredFieldValidator>
- </td>
- </tr>
- <tr style="color: #000000">
- <td colspan="2" style="height: 110px">
- <asp:TextBox ID="txtContent" runat="server" Height="191px" TextMode="MultiLine"
- Width="411px"></asp:TextBox>
- </td>
- </tr>
- <tr style="color: #000000">
- <td colspan="2" style=" height: 44px; ">
- <asp:Button ID="btnOK" runat="server" Font-Size="9pt" OnClick="btnOK_Click"
- Text="提交" />
- <br />
- <asp:ValidationSummary ID="ValidationSummary1" runat="server" Font-Size="9pt"
- ShowMessageBox="True" ShowSummary="False" />
- </td>
- </tr>
- </table>
- </asp:Panel>
- </td>
- </tr>
- </table>
- <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
- Font-Size="9pt" OnPageIndexChanging="GridView1_PageIndexChanging" Width="100%">
- <Columns>
- <asp:BoundField DataField="ID" HeaderText="公告ID" />
- <asp:BoundField DataField="NoticeTitle" HeaderText="公告主题" />
- <asp:BoundField DataField="NoticeTime" HeaderText="发表时间" />
- <asp:BoundField DataField="NoticePerson" HeaderText="发表人" />
- <asp:HyperLinkField DataNavigateUrlFields="ID" DataNavigateUrlFormatString="NoticeInfo.aspx?ID={0}"
- HeaderText="查看详情" Text="查看" />
- </Columns>
- </asp:GridView>
- <p>
- <asp:TextBox ID="txtSubject" runat="server" Width="409px"></asp:TextBox>
- </p>
- </form>
- </body>
- </html>