<%@ Register TagPrefix="uc1" TagName="Css" Src="../include/Css.ascx" %>
<%@ Page language="c#" Codebehind="Linkman.aspx.cs" AutoEventWireup="false" Inherits="WebOCRM.Crm.Linkman" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>StarSuit 联系人</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" colSpan="3">
						<P><STRONG>联系人</STRONG>——与客户资源息息相关的联系人资料。&nbsp;&nbsp;</P>
					</TD>
				</TR>
				<TR CssClass="WsdnOrgTitle1">
					<TD><asp:label id="Label1" runat="server">联系人姓名:</asp:label><asp:textbox id="Wsdn_StarCRM_Name" runat="server" Width="65px"></asp:textbox>&nbsp;&nbsp;
					</TD>
					<TD align="left">&nbsp;
						<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="Button5" runat="server" Text="分组形式"></asp:button>&nbsp;
					</TD>
					<TD>&nbsp;&nbsp;&nbsp; <A href="FileUpload.aspx?type=New" target="info"></A>&nbsp;&nbsp;
						<asp:button id="ImBtAdd" runat="server" Text="添加记录"></asp:button>&nbsp;&nbsp;&nbsp;<asp:button id="BtnDelete" runat="server" Text="删除"></asp:button>&nbsp;&nbsp;
					</TD>
				<TR>
				<TR CssClass="WsdnOrgTitle1">
					<TD colSpan="3"><asp:panel id="Panel1" runat="server" Visible="False">
							<asp:Label id="Label4" runat="server">性别:</asp:Label>
							<asp:TextBox id="Wsdn_StarCRM_Sex" runat="server" Width="65px"></asp:TextBox>
							<asp:Label id="Label9" runat="server">公司:</asp:Label>
							<asp:TextBox id="Wsdn_StarCRM_Client" runat="server" Width="65px"></asp:TextBox>
							<asp:Label id="Label5" runat="server">联系人类型:</asp:Label>
							<asp:TextBox id="Wsdn_StarCRM_Class" runat="server" Width="65px"></asp:TextBox>
							<asp:Label id="Label7" runat="server">职业:</asp:Label>
							<asp:TextBox id="Wsdn_StarCRM_Work" runat="server" Width="65px"></asp:TextBox>
							<asp:Label id="Label3" runat="server">职位:</asp:Label>
							<asp:TextBox id="Wsdn_StarCRM_Postion" runat="server" Width="65px"></asp:TextBox>
							<asp:Label id="Label8" runat="server">电话:</asp:Label>
							<asp:TextBox id="Wsdn_StarCRM_Phone" runat="server" Width="65px"></asp:TextBox>
							<asp:Label id="Label6" runat="server">手机:</asp:Label>
							<asp:TextBox id="Wsdn_StarCRM_Mobile" runat="server" Width="65px"></asp:TextBox>
							<asp:label id="Label2" runat="server">传真:</asp:label>
							<asp:textbox id="Wsdn_StarCRM_Fax" runat="server" Width="65px"></asp:textbox>
							<asp:Label id="Label10" runat="server">电子邮件:</asp:Label>
							<asp:TextBox id="Wsdn_StarCRM_Email" runat="server" Width="65px"></asp:TextBox>
							<asp:Label id="Label11" runat="server">城市:</asp:Label>
							<asp:TextBox id="Wsdn_StarCRM_City" runat="server" Width="65px"></asp:TextBox>
						</asp:panel></TD>
				<TR>
					<TD align="right" colSpan="3"><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:TemplateColumn HeaderText="选择">
									<ItemTemplate>
										<INPUT type="radio" onclick='LinkmanSelect("<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_Name"))%>")' name='<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_Name"))%>' title='<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_Name"))%>' value='<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_Name"))%>'>
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:HyperLinkColumn Text="编辑" DataNavigateUrlField="Wsdn_StarCRM_Id" DataNavigateUrlFormatString="LinkmanEdit.aspx?id={0}&amp;mode=edit"
									HeaderText="编辑"></asp:HyperLinkColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Name" HeaderText="联系人姓名"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Sex" HeaderText="性别"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Client" HeaderText="公司"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Postion" HeaderText="职位"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Class" HeaderText="联系人类型"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Phone" HeaderText="电话"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Mobile" HeaderText="手机"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_City" 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="Lgrid" runat="server"></asp:Label><asp:linkbutton id="ExportPowerPoint" runat="server">输出PowerPoint</asp:linkbutton>&nbsp;&nbsp;
						<asp:linkbutton id="ExportWord" runat="server">输出Word</asp:linkbutton>&nbsp;&nbsp;
						<asp:linkbutton id="ExportExcel" runat="server">输出Excel</asp:linkbutton>&nbsp;</TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
