<%@ Control Language="c#" AutoEventWireup="false" Codebehind="LinkmanSearch.ascx.cs" Inherits="WebOCRM.include.LinkmanSearch" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<TABLE id="Table1" cellSpacing="0" cellPadding="0" width="100%" border="0">
	<TR>
		<TD class="WsdnOrgTitle1" colSpan="3">
			<P><STRONG>联系人高级搜索</STRONG>&nbsp;&nbsp;</P>
		</TD>
	</TR>
	<TR CssClass="WsdnOrgTitle1">
		<TD>我要搜索<asp:textbox id="Wsdn_StarCRM_Name" runat="server" Width="72px"></asp:textbox>&nbsp;
			<asp:dropdownlist id="searchwhat" runat="server">
				<asp:ListItem Value="Wsdn_StarCRM_Name">联系人姓名</asp:ListItem>
				<asp:ListItem Value="Wsdn_StarCRM_Sex">性别</asp:ListItem>
				<asp:ListItem Value="Wsdn_StarCRM_Client">公司</asp:ListItem>
				<asp:ListItem Value="Wsdn_StarCRM_Dept">客户部门</asp:ListItem>
				<asp:ListItem Value="Wsdn_StarCRM_Class">联系人类型</asp:ListItem>
				<asp:ListItem Value="Wsdn_StarCRM_Work">职业</asp:ListItem>
				<asp:ListItem Value="Wsdn_StarCRM_Postion">职位</asp:ListItem>
				<asp:ListItem Value="Wsdn_StarCRM_Tech">职称</asp:ListItem>
				<asp:ListItem Value="Wsdn_StarCRM_Phone">电话</asp:ListItem>
				<asp:ListItem Value="Wsdn_StarCRM_Mobile">手机</asp:ListItem>
				<asp:ListItem Value="Wsdn_StarCRM_Fax">传真号码</asp:ListItem>
				<asp:ListItem Value="Wsdn_StarCRM_Email">电子邮件</asp:ListItem>
				<asp:ListItem Value="Wsdn_StarCRM_Birthday">生日</asp:ListItem>
				<asp:ListItem Value="Wsdn_StarCRM_Country">国家</asp:ListItem>
				<asp:ListItem Value="Wsdn_StarCRM_City">城市</asp:ListItem>
				<asp:ListItem Value="Wsdn_StarCRM_URL">公司主页</asp:ListItem>
				<asp:ListItem Value="Wsdn_StarCRM_Email">电子邮件</asp:ListItem>
				<asp:ListItem Value="Wsdn_StarCRM_Address">地址</asp:ListItem>
				<asp:ListItem Value="Wsdn_StarCRM_Postnum">邮编</asp:ListItem>
				<asp:ListItem Value="Wsdn_StarCRM_Like">兴趣爱好</asp:ListItem>
				<asp:ListItem Value="Wsdn_StarCRM_NationPlace">籍贯</asp:ListItem>
				<asp:ListItem Value="Wsdn_StarCRM_Nation">民族</asp:ListItem>
				<asp:ListItem Value="Wsdn_StarCRM_Mate">配偶姓名</asp:ListItem>
				<asp:ListItem Value="Wsdn_StarCRM_ContactName">紧急联系人姓名</asp:ListItem>
				<asp:ListItem Value="Wsdn_StarCRM_ContactPhone">紧急联系电话</asp:ListItem>
				<asp:ListItem Value="Wsdn_StarCRM_Identity">身份证号码</asp:ListItem>
				<asp:ListItem Value="Wsdn_StarCRM_Bank">开户银行</asp:ListItem>
				<asp:ListItem Value="Wsdn_StarCRM_ATM">银行账户</asp:ListItem>
				<asp:ListItem Value="Wsdn_StarCRM_ICQ">ICQ</asp:ListItem>
				<asp:ListItem Value="Wsdn_StarCRM_OICQ">OICQ</asp:ListItem>
				<asp:ListItem Value="Wsdn_StarCRM_MSN">MSN</asp:ListItem>
				<asp:ListItem Value="Wsdn_StarCRM_LT">小灵通</asp:ListItem>
				<asp:ListItem Value="Wsdn_StarCRM_Department">相关部门</asp:ListItem>
				<asp:ListItem Value="Wsdn_StarCRM_Time">录入时间</asp:ListItem>
				<asp:ListItem Value="Wsdn_StarCRM_Recorder">录入人员</asp:ListItem>
				<asp:ListItem Value="Wsdn_StarCRM_Info">备注</asp:ListItem>
			</asp:dropdownlist>
			<asp:dropdownlist id="DropDownList1" runat="server" Width="57px">
				<asp:ListItem Value="可用">可用</asp:ListItem>
				<asp:ListItem Value="回收站">回收站</asp:ListItem>
			</asp:dropdownlist>&nbsp;
			<asp:button id="Button1" runat="server" Text=" 搜索 "></asp:button>&nbsp;<asp:button id="Button2" runat="server" Text="范围搜索"></asp:button>&nbsp;
			<asp:Button id="Button8" runat="server" Text="联系人列表"></asp:Button></TD>
	<TR>
	<TR CssClass="WsdnOrgTitle1">
		<TD><asp:panel id="Panel1" runat="server" Visible="False">
				<P>编号范围的搜索:从
					<asp:textbox id="Textbox1" Width="72px" runat="server"></asp:textbox>&nbsp;到
					<asp:textbox id="Textbox2" Width="72px" runat="server"></asp:textbox>&nbsp;
					<asp:button id="Button3" runat="server" Text=" 搜索 "></asp:button></P>
				<P>第一次会谈时间:从
					<asp:textbox id="Textbox4" Width="72px" runat="server"></asp:textbox>&nbsp;到
					<asp:textbox id="Textbox3" Width="72px" runat="server"></asp:textbox>&nbsp;
					<asp:button id="Button4" runat="server" Text=" 搜索 "></asp:button></P>
				<P>最近联络的时间:从
					<asp:textbox id="Textbox8" Width="72px" runat="server"></asp:textbox>&nbsp;到
					<asp:textbox id="Textbox7" Width="72px" runat="server"></asp:textbox>&nbsp;
					<asp:button id="Button6" runat="server" Text=" 搜索 "></asp:button></P>
				<P>生日日期的范围:从
					<asp:textbox id="Textbox10" Width="72px" runat="server"></asp:textbox>&nbsp;到
					<asp:textbox id="Textbox9" Width="72px" runat="server"></asp:textbox>&nbsp;
					<asp:button id="Button7" runat="server" Text=" 搜索 "></asp:button></P>
				<P>年薪范围:从
					<asp:textbox id="Textbox6" Width="72px" runat="server"></asp:textbox>&nbsp;到
					<asp:textbox id="Textbox5" Width="72px" runat="server"></asp:textbox>&nbsp;
					<asp:button id="Button5" runat="server" Text=" 搜索 "></asp:button></P>
			</asp:panel></TD>
	<TR>
		<TD><asp:datagrid id="DataGrid1" runat="server" Width="100%" AutoGenerateColumns="False" AllowPaging="True"
				PageSize="15">
				<ItemStyle CssClass="WsdnOrgInfo"></ItemStyle>
				<HeaderStyle CssClass="WsdnOrgTitle1"></HeaderStyle>
				<FooterStyle HorizontalAlign="Right"></FooterStyle>
				<Columns>
					<asp:HyperLinkColumn DataNavigateUrlField="Wsdn_StarCRM_Id" DataNavigateUrlFormatString="../Crm/LinkmanEdit.aspx?id={0}&amp;mode=edit"
						DataTextField="Wsdn_StarCRM_Name" HeaderText="联系人姓名"></asp:HyperLinkColumn>
					<asp:HyperLinkColumn DataNavigateUrlField="Wsdn_StarCRM_Id" DataNavigateUrlFormatString="../Crm/ClientEdit.aspx?name={0}&amp;mode=edit"
						DataTextField="Wsdn_StarCRM_Client" HeaderText="公司"></asp:HyperLinkColumn>
					<asp:BoundColumn DataField="Wsdn_StarCRM_Class" 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_Mobile" HeaderText="手机"></asp:BoundColumn>
					<asp:BoundColumn DataField="Wsdn_StarCRM_City" HeaderText="城市"></asp:BoundColumn>
				</Columns>
				<PagerStyle Mode="NumericPages"></PagerStyle>
			</asp:datagrid></TD>
	</TR>
</TABLE>
