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

1<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="CD_List3.aspx.cs" Inherits="CompanyDecision_CD_List3" 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_AddDate, CD_IsConfirm, CD_AddPersonID FROM z_CompanyDecision WHERE (CD_IsConfirm = @CD_IsConfirm) AND (CD_AddPersonID = @CD_AddPersonID) ORDER BY CD_AddDate DESC"> 12
<SelectParameters> 13
<asp:Parameter DefaultValue="0" Name="CD_IsConfirm" /> 14
<asp:SessionParameter DefaultValue="" Name="CD_AddPersonID" SessionField="UserID" /> 15
</SelectParameters> 16
</asp:SqlDataSource> 17
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False" 18
CellPadding="4" DataKeyNames="CD_ID" DataSourceID="SqlDataSource1" ForeColor="#333333" 19
GridLines="None" Width="600px"> 20
<FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" /> 21
<Columns> 22
<asp:BoundField DataField="CD_ID" HeaderText="决策草案号" InsertVisible="False" ReadOnly="True" 23
SortExpression="CD_ID" /> 24
<asp:TemplateField HeaderText="标题"> 25
<ItemTemplate> 26
<asp:LinkButton ID="LinkButton1" runat="server" CommandArgument='<%# Eval("CD_ID") %>' 27
OnCommand="LinkButton1_Command" Text='<%# Eval("CD_Title") %>'></asp:LinkButton> 28
</ItemTemplate> 29
</asp:TemplateField> 30
<asp:BoundField DataField="CD_AddDate" HeaderText="撰写日期" SortExpression="CD_AddDate" /> 31
</Columns> 32
<RowStyle BackColor="#FFFBD6" ForeColor="#333333" /> 33
<SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" /> 34
<PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" /> 35
<HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" /> 36
<AlternatingRowStyle BackColor="White" /> 37
</asp:GridView> 38
</td> 39
</tr> 40
<tr> 41
<td colspan="3" rowspan="3" style="height: 50px"> 42
</td> 43
</tr> 44
<tr> 45
</tr> 46
<tr> 47
</tr> 48
</table> 49
</asp:Content> 50
51




