-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathGongGaoTJ.aspx
123 lines (117 loc) · 5.77 KB
/
GongGaoTJ.aspx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="GongGaoTJ.aspx.cs" Inherits="GongGaoTJ" %>
<%@ Register src="UserControl/LeftMenu.ascx" tagname="LeftMenu" tagprefix="uc2" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
<%@ Register src="UserControl/gonggaoguanli.ascx" tagname="gonggaoguanli" tagprefix="uc1" %>
<%@ Register src="UserControl/LeftMenuYuanGong.ascx" tagname="LeftMenuYuanGong" tagprefix="uc3" %>
<%@ Register src="UserControl/LeftMenuDianZhang.ascx" tagname="LeftMenuDianZhang" tagprefix="uc4" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">
.style5
{
width: 49px;
}
.style6
{
width: 78px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphMenu" Runat="Server">
<uc4:LeftMenuDianZhang ID="LeftMenuDianZhang1" runat="server" MenuId="88"/>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cphMain" Runat="Server">
<uc1:gonggaoguanli ID="gonggaoguanli1" runat="server" MenuId="1" />
<br />
<asp:Panel ID="Panel1" runat="server" GroupingText="添加公告:" Width="750px">
<table style="width: 100%; height: 132px;">
<tr>
<td class="style5">
</td>
<td align="right" class="style6">
标题:</td>
<td align="left" colspan="2">
<asp:TextBox ID="txtTM" runat="server"></asp:TextBox>
<asp:TextBoxWatermarkExtender ID="txtTM_TextBoxWatermarkExtender"
runat="server" TargetControlID="txtTM" WatermarkCssClass="watermarked"
WatermarkText="请在此输入题目.">
</asp:TextBoxWatermarkExtender>
</td>
</tr>
<tr>
<td class="style5">
</td>
<td align="right" class="style6">
内容:</td>
<td align="left" colspan="2">
<asp:TextBox ID="txtNR" runat="server" Height="62px" TextMode="MultiLine"
Width="297px"></asp:TextBox>
<asp:TextBoxWatermarkExtender ID="txtNR_TextBoxWatermarkExtender"
runat="server" TargetControlID="txtNR" WatermarkCssClass="watermarked"
WatermarkText="请在此输入内容.">
</asp:TextBoxWatermarkExtender>
</td>
</tr>
<tr>
<td class="style5">
</td>
<td align="right" class="style6">
<asp:Button ID="btnTJ" runat="server" Text="添加" onclick="btnTJ_Click" />
</td>
<td align="center" dir="ltr">
<asp:Button ID="btnQC" runat="server" Text="清除" onclick="btnQC_Click" />
</td>
<td align="left">
</td>
</tr>
</table>
</asp:Panel>
<asp:Panel ID="Panel2" runat="server" GroupingText="公告:" Width="740px">
<asp:GridView ID="grvGG" runat="server" Height="300px" Width="750px" AllowPaging="True"
AutoGenerateColumns="False" HorizontalAlign="Center" CellPadding="4"
ForeColor="#333333" GridLines="None" onrowdeleted="grvGG_RowDeleted"
onrowdeleting="grvGG_RowDeleting">
<AlternatingRowStyle BackColor="White" />
<Columns>
<asp:HyperLinkField HeaderText="查看" NavigateUrl="#" Text="查看">
<HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="50px" />
<ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="50px" />
</asp:HyperLinkField>
<asp:BoundField DataField="Gg_Name" HeaderText="标题">
<HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="100px"
Wrap="False" />
<ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="100px"
Wrap="False" />
</asp:BoundField>
<asp:BoundField DataField="Gg_NeiRong" HeaderText="内容">
<HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="200px"
Wrap="False" />
<ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="200px"
Wrap="False" />
</asp:BoundField>
<asp:BoundField DataField="Gg_User" HeaderText="发布人">
<HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="100px"
Wrap="False" />
<ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="100px"
Wrap="False" />
</asp:BoundField>
<asp:BoundField DataField="Gg_TianJiaShiJian" HeaderText="日期">
<HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="150px"
Wrap="False" />
<ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="150px"
Wrap="False" />
</asp:BoundField>
</Columns>
<EditRowStyle BackColor="#2461BF" />
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<RowStyle BackColor="#EFF3FB" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<SortedAscendingCellStyle BackColor="#F5F7FB" />
<SortedAscendingHeaderStyle BackColor="#6D95E1" />
<SortedDescendingCellStyle BackColor="#E9EBEF" />
<SortedDescendingHeaderStyle BackColor="#4870BE" />
</asp:GridView>
</asp:Panel>
</asp:Content>