<%@ Register TagPrefix="uc1" TagName="Css" Src="../include/Css.ascx" %>
<%@ Page language="c#" Codebehind="ClientGroup.aspx.cs" AutoEventWireup="false" Inherits="WebOCRM.Crm.ClientGroup" trace="False"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>客户</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<script language="javascript" src="../js/JScript.js"></script>
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<uc1:css id="Css1" runat="server"></uc1:css>
			<TABLE id="Table1" cellSpacing="0" cellPadding="0" width="100%" border="0">
				<TR>
					<TD class="WsdnOrgTitle1" style="WIDTH: 209px" colSpan="2"><STRONG>客户</STRONG>——分组。&nbsp;
					</TD>
					<TD class="WsdnOrgTitle1" align="left"><asp:button id="Button6" runat="server" Text="列表形式"></asp:button>&nbsp;&nbsp;
						<asp:button id="Button3" runat="server" Text="高级搜索"></asp:button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						<asp:button id="ImBtAdd" runat="server" Text="添加记录"></asp:button>&nbsp;
						<asp:button id="BtnDelete" runat="server" Text="删除"></asp:button></TD>
				</TR>
				<TR>
					<TD class="" style="WIDTH: 79px" vAlign="top" align="left"><br>
						选择分组依据:<br>
						<asp:listbox id="ListBox1" runat="server" Width="85px" Height="447px" AutoPostBack="True">
							<asp:ListItem Value="Wsdn_StarCRM_ClinetType">客户类别</asp:ListItem>
							<asp:ListItem Value="Wsdn_StarCRM_Character">客户性质</asp:ListItem>
							<asp:ListItem Value="Wsdn_StarCRM_Vocation">所处行业</asp:ListItem>
							<asp:ListItem Value="Wsdn_StarCRM_Relation">商业关系</asp:ListItem>
							<asp:ListItem Value="Wsdn_StarCRM_Country">国家</asp:ListItem>
							<asp:ListItem Value="Wsdn_StarCRM_Provine">省份</asp:ListItem>
							<asp:ListItem Value="Wsdn_StarCRM_Region">地区</asp:ListItem>
							<asp:ListItem Value="Wsdn_StarCRM_City">城市</asp:ListItem>
							<asp:ListItem Value="Wsdn_StarCRM_Bank">开户银行</asp:ListItem>
						</asp:listbox></TD>
					<TD class="" style="WIDTH: 111px" vAlign="top" align="left">
						<P><br>
							<asp:dropdownlist id="DropDownList1" runat="server" Width="57px">
								<asp:ListItem Value="可用">可用</asp:ListItem>
								<asp:ListItem Value="回收站">回收站</asp:ListItem>
							</asp:dropdownlist></P>
						<asp:radiobuttonlist id="RadioButtonList1" runat="server" AutoPostBack="True" Width="110px"></asp:radiobuttonlist></TD>
					<TD vAlign="top" align="left"><asp:datagrid id="DataGrid1" runat="server" Width="100%" PageSize="15" AllowPaging="True" AutoGenerateColumns="False">
							<ItemStyle CssClass="WsdnOrgInfo"></ItemStyle>
							<HeaderStyle CssClass="WsdnOrgTitle1"></HeaderStyle>
							<FooterStyle HorizontalAlign="Right"></FooterStyle>
							<Columns>
								<asp:HyperLinkColumn DataNavigateUrlField="Wsdn_StarCRM_Id" DataNavigateUrlFormatString="ClientEdit.aspx?id={0}&amp;mode=edit"
									DataTextField="Wsdn_StarCRM_Name" HeaderText="客户名称"></asp:HyperLinkColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Linkman" HeaderText="主要联系人"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_ClinetType" HeaderText="客户类别"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_City" HeaderText="城市"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Region" HeaderText="地区"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Phone" HeaderText="电话"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Fax" HeaderText="传真"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Employee" HeaderText="跟进员工"></asp:BoundColumn>
								<asp:TemplateColumn HeaderText="删除">
									<ItemTemplate>
										<asp:CheckBox id="ChkDelete" Runat="server"></asp:CheckBox>
										<asp:TextBox id=TextBox1 accessKey='<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "DeleteFlag"))%>' runat="server" CssClass='<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_Id"))%>' Width="0px">
										</asp:TextBox>
									</ItemTemplate>
								</asp:TemplateColumn>
							</Columns>
							<PagerStyle CssClass="WsdnOrgTitle1" Mode="NumericPages"></PagerStyle>
						</asp:datagrid><asp:label id="Label1" runat="server"></asp:label>
						<asp:Label id="Lgrid" runat="server"></asp:Label></TD>
				</TR>
				<TR>
					<TD class="WsdnOrgInfo" colSpan="3">
						<hr>
					</TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
