<%@ Register TagPrefix="uc1" TagName="Css" Src="../include/Css.ascx" %>
<%@ Page language="c#" Codebehind="Sendmail.aspx.cs" AutoEventWireup="false" Inherits="StarSuitWSYW.tools.Sendmail" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>Sendmail</title>
		<meta content="False" name="vs_snapToGrid">
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<script language="javascript" src="../js/JScript.js"></script>
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<uc1:css id="Css1" runat="server"></uc1:css>
			<TABLE>
				<TR>
					<TD valign="top" style="WIDTH: 450px">
						<asp:Label id="w1" runat="server"></asp:Label><br>
						<asp:TextBox id="Wsdn_StarCRM_Client" runat="server" Width="245px" Visible="False"></asp:TextBox><br>
						<asp:Label id="Label2" runat="server">收信人：</asp:Label><br>
						<asp:TextBox id="TextBox2" runat="server" Width="448px"></asp:TextBox>
						<br>
						<asp:Label id="Label3" runat="server">标题：</asp:Label><br>
						<asp:TextBox id="TextBox3" runat="server" Width="448px"></asp:TextBox>
						<asp:TextBox id="TextBox4" runat="server" Width="446px" Height="288px" TextMode="MultiLine"></asp:TextBox>
						<P></P>
						<P>
							<asp:Button id="Button1" runat="server" Text="发送邮件" Width="184px"></asp:Button></P>
					</TD>
					<TD valign="top"><asp:Label id="Label1" runat="server">选择抄送群发客户</asp:Label><br>
						<asp:datagrid id="DataGrid1" runat="server" Width="100%" AutoGenerateColumns="False" AllowPaging="True"
							PageSize="15" Height="664px">
							<HeaderStyle CssClass="WsdnOrgInfo"></HeaderStyle>
							<FooterStyle HorizontalAlign="Right"></FooterStyle>
							<Columns>
								<asp:TemplateColumn HeaderText="选择">
									<ItemTemplate>
										<INPUT type="radio" onclick='ClientEmail("<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_Email"))%>")' 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:BoundColumn DataField="Wsdn_StarCRM_Name" HeaderText="客户名称"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Email" HeaderText="主要联系人"></asp:BoundColumn>
							</Columns>
							<PagerStyle CssClass="WsdnOrgTitle1" Mode="NumericPages"></PagerStyle>
						</asp:datagrid></TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
