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

1<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Client_List2.aspx.cs" Inherits="ClientInfo_Client_Confirm" 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"> 7
待审核客户列表</span></td> 8
</tr> 9
<tr> 10
<td colspan="3" rowspan="1" style="height: 400px" valign="top"> 11
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="Data Source=(local);Initial Catalog=OfficeOnline;User ID=sa;Password=sa" 12
ProviderName="System.Data.SqlClient" SelectCommand="SELECT z_Client.Client_ID, z_Client.Client_CompanyName, z_Client.Client_AddDate, z_Client.Client_IsConfirm, z_Person.Person_ID FROM z_Client INNER JOIN z_Person ON z_Client.Dept_ID = z_Person.Person_DeptID WHERE (z_Client.Client_IsConfirm = 0) AND (z_Person.Person_ID = @Person_ID)"> 13
<SelectParameters> 14
<asp:SessionParameter Name="Person_ID" SessionField="UserID" /> 15
</SelectParameters> 16
</asp:SqlDataSource> 17
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False" 18
CellPadding="4" DataKeyNames="Client_ID,Person_ID" DataSourceID="SqlDataSource1" 19
ForeColor="#333333" GridLines="None" Width="600px"> 20
<FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" /> 21
<Columns> 22
<asp:BoundField DataField="Client_ID" HeaderText="客户号" InsertVisible="False" ReadOnly="True" 23
SortExpression="Client_ID" /> 24
<asp:TemplateField HeaderText="单位名称"> 25
<ItemTemplate> 26
<asp:LinkButton ID="LinkButton1" runat="server" CommandArgument='<%# Eval("Client_ID") %>' 27
OnCommand="LinkButton1_Command" Text='<%# Eval("Client_CompanyName") %>'></asp:LinkButton> 28
</ItemTemplate> 29
</asp:TemplateField> 30
<asp:BoundField DataField="Client_AddDate" HeaderText="提交日期" SortExpression="Client_ComfirmDate" /> 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
39
</td> 40
</tr> 41
<tr> 42
<td colspan="3" rowspan="3" style="height: 50px"> 43
</td> 44
</tr> 45
<tr> 46
</tr> 47
<tr> 48
</tr> 49
</table> 50
</asp:Content> 51
52




