<%@ Page language="c#" Codebehind="Communion.aspx.cs" AutoEventWireup="false" Inherits="WsdnStarCrm.Crm.Communion" trace="False"%>
<%@ Register TagPrefix="uc1" TagName="Css" Src="../include/Css.ascx" %>
<!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><asp:label id="Label13" runat="server">客户交流记录——记录与客户之间的电讯来往、信件来往、物品来往等。</asp:label></P>
					</TD>
				</TR>
				<TR CssClass="WsdnOrgTitle1">
					<TD style="HEIGHT: 14px"><asp:label id="Label1" runat="server">标题:</asp:label><asp:textbox id="Wsdn_StarCRM_Name" runat="server" Width="65px"></asp:textbox></TD>
					<TD style="HEIGHT: 14px" align="left"><asp:dropdownlist id="Wsdn_StarCRM_Class" runat="server">
							<asp:ListItem Value="">全部</asp:ListItem>
							<asp:ListItem Value="接收的">接收的</asp:ListItem>
							<asp:ListItem Value="发出的">发出的</asp:ListItem>
						</asp:dropdownlist>&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></TD>
					<TD style="HEIGHT: 14px"><asp:button id="ImBtAdd" runat="server" Text="添加记录"></asp:button>&nbsp;&nbsp;<asp:button id="BtnDelete" runat="server" Text="删除"></asp:button>
					</TD>
				<TR>
				<TR CssClass="WsdnOrgTitle1">
					<TD colSpan="3"><asp:panel id="Panel1" runat="server" Visible="False">
<asp:Label id="Label8" runat="server">相关客户:</asp:Label>
<asp:TextBox id="Wsdn_StarCRM_Client" runat="server" Width="65px"></asp:TextBox>
<asp:Label id="Label4" runat="server">联系人:</asp:Label>
<asp:TextBox id="Wsdn_StarCRM_Linkman" runat="server" Width="65px"></asp:TextBox>
<asp:Label id="Label9" runat="server">记录类别:</asp:Label>
<asp:TextBox id="Wsdn_StarCRM_Type" runat="server" Width="65px"></asp:TextBox>&nbsp; 
<asp:Label id="Label2" runat="server">记录时间:</asp:Label>
<asp:TextBox id="Wsdn_StarCRM_Time" runat="server" Width="65px"></asp:TextBox>
<asp:Label id="Label3" runat="server">始发时间:</asp:Label>
<asp:TextBox id="Wsdn_StarCRM_OTime" runat="server" Width="65px"></asp:TextBox>
<asp:Label id="Label5" runat="server">接收时间:</asp:Label>
<asp:TextBox id="Wsdn_StarCRM_OTime1" runat="server" Width="65px"></asp:TextBox>
<asp:Label id="Label6" runat="server">始发地址:</asp:Label>
<asp:TextBox id="Wsdn_StarCRM_Address" runat="server" Width="65px"></asp:TextBox>
<asp:Label id="Label7" runat="server">接收地址:</asp:Label>
<asp:TextBox id="Wsdn_StarCRM_Address1" runat="server" Width="65px"></asp:TextBox></asp:panel></TD>
				<TR>
					<TD align="right" colSpan="3"><asp:datagrid id="DataGrid1" runat="server" Width="100%" PageSize="15" AllowPaging="True" AutoGenerateColumns="False">
							<HeaderStyle CssClass="WsdnOrgInfo"></HeaderStyle>
							<FooterStyle HorizontalAlign="Right"></FooterStyle>
							<Columns>
								<asp:HyperLinkColumn Text="编辑" DataNavigateUrlField="Wsdn_StarCRM_Id" DataNavigateUrlFormatString="CommunionEdit.aspx?id={0}&amp;mode=edit"
									HeaderText="编辑"></asp:HyperLinkColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Name" HeaderText="标题"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Linkman" HeaderText="主要联系人"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Type" HeaderText="类别"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Class" HeaderText="发出/接收"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Client" HeaderText="相关客户"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Linkman" HeaderText="相关联系人"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Time" 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="Lgrid" runat="server">Label</asp:label></TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
