温馨提示:代码在线浏览功能只能做为源码浏览参考,不能展示项目的全部,如果想更进一步了解该代码请下载:网上办公系统源码
当前文件路径:OfficeOnline/CompanyDecision/CD_List.aspx

1<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="CD_List.aspx.cs" Inherits="CompanyDecision_CD_List" Title="Untitled Page" %> 2
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> 3
<table style="width: 650px; height: 500px"> 4
<tr> 5
<td colspan="3" rowspan="1" style="height: 50px; background-color: #ffffcc"> 6
<span style="font-size: 24pt; font-family: 楷体_GB2312">公司决策列表</span></td> 7
</tr> 8
<tr> 9
<td colspan="3" rowspan="1" style="height: 400px" valign="top"> 10
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:OfficeOnlineConnectionString %>" 11
SelectCommand="SELECT CD_ID, CD_Title, CD_ConfirmDate, CD_IsConfirm FROM z_CompanyDecision WHERE (CD_IsConfirm = @CD_IsConfirm) ORDER BY CD_ConfirmDate DESC"> 12
<SelectParameters> 13
<asp:Parameter DefaultValue="1" Name="CD_IsConfirm" /> 14
</SelectParameters> 15
</asp:SqlDataSource> 16
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False" 17
CellPadding="4" DataKeyNames="CD_ID" DataSourceID="SqlDataSource1" ForeColor="#333333" 18
GridLines="None" Width="600px"> 19
<FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" /> 20
<Columns> 21
<asp:BoundField DataField="CD_ID" HeaderText="公司决策号" InsertVisible="False" ReadOnly="True" 22
SortExpression="CD_ID" /> 23
<asp:TemplateField HeaderText="决策标题"> 24
<ItemTemplate> 25
<asp:LinkButton ID="LinkButton1" runat="server" CommandArgument='<%# Eval("CD_ID") %>' 26
OnCommand="LinkButton1_Command" Text='<%# Eval("CD_Title") %>'></asp:LinkButton> 27
</ItemTemplate> 28
</asp:TemplateField> 29
<asp:BoundField DataField="CD_ConfirmDate" HeaderText="发布日期" SortExpression="CD_AddDate" /> 30
</Columns> 31
<RowStyle BackColor="#FFFBD6" ForeColor="#333333" /> 32
<SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" /> 33
<PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" /> 34
<HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" /> 35
<AlternatingRowStyle BackColor="White" /> 36
</asp:GridView> 37
</td> 38
</tr> 39
<tr> 40
<td colspan="3" rowspan="3" style="height: 50px"> 41
</td> 42
</tr> 43
<tr> 44
</tr> 45
<tr> 46
</tr> 47
</table> 48
</asp:Content> 49
50




