📄 email.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Email.aspx.cs" Inherits="SendMsg" %>
<%@ Register Src="LeadHead.ascx" TagName="LeadHead" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>无标题页</title>
<script language="javascript" type="text/javascript">
// <!CDATA[
function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} }
// ]]>
</script>
</head>
<body style="text-align: center; background-image: url(PICTURE/back.gif);">
<form id="form1" runat="server">
<uc1:LeadHead ID="LeadHead1" runat="server" />
<br />
<asp:Image ID="Image5" runat="server" Height="35px" ImageUrl="~/PICTURE/line.bmp"
Width="932px" /><br />
<table style="width: 813px; height: 234px; border-left-color: #66ccff; border-bottom-color: #66ccff; border-top-style: solid; border-top-color: #66ccff; border-right-style: solid; border-left-style: solid; border-right-color: #66ccff; border-bottom-style: solid;" border="1" cellpadding="1" cellspacing="1">
<caption style="background-color: #bcddff">
<asp:Image ID="Image1" runat="server" ImageUrl="~/PICTURE/classmail.gif" /></caption>
<tr>
<td style="vertical-align: middle; width: 273px; text-align: left; height: 22px;" colspan="3">
<asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="Larger" ForeColor="Navy"
Text="主题:" Width="60px"></asp:Label><asp:TextBox ID="ETitle" runat="server" ForeColor="#0000C0" Width="501px"></asp:TextBox></td>
</tr>
<tr>
<td style="vertical-align: middle; width: 400px; height: 20px; text-align: left">
<asp:Label ID="Label6" runat="server" Text="添加收件人" Width="80px"></asp:Label>
<asp:TextBox ID="AddText" runat="server" Width="177px"></asp:TextBox>
<asp:Button ID="Add" runat="server" OnClick="Add_Click" Text="添加收件人:" Width="80px" /></td>
<td style="width: 53px; height: 20px">
</td>
<td style="vertical-align: middle; width: 300px; height: 20px; text-align: left">
<asp:Label ID="Label3" runat="server" Text="本人邮箱:" Width="89px"></asp:Label><asp:TextBox ID="EServer" runat="server" Width="158px">本人邮箱</asp:TextBox></td>
</tr>
<tr>
<td style="vertical-align: middle; width: 325px; height: 22px; text-align: left">
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="AddText"
ErrorMessage="认真填写" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
Width="87px"></asp:RegularExpressionValidator><asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="AddText"
ErrorMessage="不为空" Width="92px"></asp:RequiredFieldValidator></td>
<td style="width: 53px; height: 22px">
</td>
<td style="vertical-align: middle; width: 300px; height: 22px; text-align: left">
</td>
</tr>
<tr>
<td style="vertical-align: middle; width: 325px; height: 27px; text-align: center">
<asp:Label ID="Label5" runat="server" Text="以下成员接收邮件" Font-Bold="True" Font-Names="Comic Sans MS" ForeColor="#0000C0"></asp:Label></td>
<td style="width: 53px; height: 27px">
<asp:Label ID="Label7" runat="server" Text=" "></asp:Label></td>
<td style="vertical-align: middle; width: 300px; height: 27px; text-align: left">
<asp:Label ID="Label4" runat="server" Text="全部邮件列表: "></asp:Label>
<asp:DropDownList ID="ClassList" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ClassList_SelectedIndexChanged">
</asp:DropDownList></td>
</tr>
<tr>
<td style="width: 325px; height: 296px; vertical-align: top; text-align: center;">
<asp:ListBox ID="SelList"
runat="server" Height="303px" Width="220px" OnSelectedIndexChanged="SelList_SelectedIndexChanged" SelectionMode="Multiple" ForeColor="Blue"></asp:ListBox>
<br />
</td>
<td style="width: 53px; height: 296px;">
<asp:Button ID="AddEmail" runat="server" Text=" << " OnClick="AddEmail_Click" UseSubmitBehavior="False" Width="66px" CausesValidation="False" />
<asp:Button ID="DelEmail" runat="server" Height="26px" Text=" >> " Width="67px" OnClick="DelEmail_Click" CausesValidation="False" />
<asp:Button ID="AllSelALL" runat="server" OnClick="AllSelALL_Click" Text=" 全添 " Width="68px" CausesValidation="False" />
<asp:Button ID="SelSelAll" runat="server" OnClick="SelSelAll_Click" Text=" 全删 " Width="68px" CausesValidation="False" />
</td>
<td style="width: 300px; height: 296px; vertical-align: top; text-align: center;">
<asp:ListBox ID="AllList" runat="server" Height="307px" Width="229px" SelectionMode="Multiple" OnSelectedIndexChanged="AllList_SelectedIndexChanged"></asp:ListBox><br />
<asp:Label ID="Label8" runat="server" Height="3px" Width="353px"></asp:Label></td>
</tr>
<tr>
<td colspan="3" style="width: 600px; background-color: #edfbfe; height: 29px;">
</td>
</tr>
<tr>
<td colspan="3" style="vertical-align: middle; width: 89px; text-align: left">
<asp:Label ID="Label2" runat="server" Font-Bold="True" Font-Size="XX-Large" ForeColor="Navy"
Text="内容 " Width="73px"></asp:Label></td>
</tr>
<tr>
<td colspan="3" style="width: 300px; vertical-align: top; text-align: left; height: 114px;">
<asp:TextBox ID="Econtent" runat="server" Height="125px" Width="798px" BorderColor="White" TextMode="MultiLine"></asp:TextBox></td>
</tr>
<tr>
<td colspan="3" style="width: 300px">
<table border="0" cellpadding="0" cellspacing="0" style="width: 779px; height: 78px">
<tr>
<td style="width: 356px; text-align: left">
<asp:Label ID="IsSend" runat="server" Height="28px" Width="372px" Font-Bold="True" ForeColor="Red"></asp:Label></td>
<td style="width: 200px">
<asp:Button ID="EBtn" runat="server" OnClick="EmailBtn_Click" Text=" 发送 " Width="80px" CausesValidation="False" />
</td>
<td style="width: 200px">
<asp:Button ID="Button4" runat="server" Text=" 取消 " Width="80px" CausesValidation="False" /></td>
</tr>
</table>
</td>
</tr>
</table>
<br />
<br />
<asp:SqlDataSource ID="SqlDataSource1" runat="server"></asp:SqlDataSource>
<br />
<asp:Image ID="Image6" runat="server" Height="35px" ImageUrl="~/PICTURE/line.bmp"
Width="930px" />
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -