⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 system_web2.htm

📁 主要对学生的档案
💻 HTM
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><!-- InstanceBegin template="/Templates/DWOLTL_contentTemplete.dwt" codeOutsideHTMLIsLocked="false" -->
<HEAD>
<!-- InstanceBeginEditable name="doctitle" -->
<TITLE>System.Web.Mail 命名空间简介</TITLE>
<!-- InstanceEndEditable --><META content="text/html; charset=gb2312" http-equiv=Content-Type>
<STYLE type=text/css>
.text {
	FONT: 12px/16px "Arial", "Helvetica", "sans-serif"; TEXT-ALIGN: justify
}
.style4 {
	font-size: 12px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
}
.style6 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}
</STYLE>

<META content="MSHTML 5.00.3700.6699" name=GENERATOR>
<!-- InstanceBeginEditable name="head" -->
<style type="text/css">
<!--
.style10 {font-family: Arial, Helvetica, sans-serif}
-->
</style>
<!-- InstanceEndEditable -->
<link href="frame.css" rel="stylesheet" type="text/css">
</HEAD>
<BODY leftMargin=2 topMargin=2 marginheight="2" marginwidth="2">
<DIV align=center>
<TABLE align=center border=0 cellPadding=0 cellSpacing=0 class=bg height=678 
id=zz width=760>
  <TBODY>
  <TR>
    <TD align=left class=spline height=437 rowSpan=4 vAlign=top width=47>
      <DIV align=center></DIV></TD>
    <TD align=left height=40 vAlign=top width=158><B><FONT face=&#186;&#218;&#204;&#229; size=5><A 
      href="index.htm"><IMG border=0 
      height=58 src="Images/logo_jb-1.jpg" 
      width=153></A></FONT></B></TD>
    <TD align=right colSpan=2 height=40 vAlign=top width=553>
      <TABLE align=center border=0 cellPadding=0 cellSpacing=0 width="85%">
        <TBODY>
        <TR>
          <TD>
            <DIV align=right><B><FONT size=5><SPAN class=title-1><FONT 
            color=#ff0000 size=2>ACCP4.0</FONT><FONT color=#333333 size=2> OLTL </FONT></SPAN></FONT></B></DIV></TD></TR></TBODY></TABLE></TD></TR>
  <TR>
    <TD align=left class=title2 colSpan=3 height=25 vAlign=center>
      <DIV align=center class=title-1>
      <!-- InstanceBeginEditable name="top_Navi" -->
      <table border=0 cellpadding=0 cellspacing=0 width=98%>
        <tbody>
          <tr>
            <td height=20 width=619><div align="right"><a href="system_web1.htm"><img 
            src="Images/pre.gif" width=67 height=21 border="0"></a></div></td>
            <td width=6><div align=center></div></td>
            <td width=72><div align=right><a href="sampleapp_sendmail.htm"><img 
            src="Images/next.gif" 
      width=67 height=21 border="0"></a></div></td>
          </tr>
        </tbody>
      </table>
      <!-- InstanceEndEditable --><SPAN class=title-1><FONT 
      size=3></FONT></SPAN></DIV></TD></TR>
  <TR>
    <TD align=left colSpan=3 height=100% vAlign=top><BR>
      <!-- InstanceBeginEditable name="contents" -->
      <table align=center border=0 cellspacing=0 cols=1 height=648 width=98%>
        <tbody>
          <tr>
            <td height=648 valign=top><div align="center"><B><font size=3><span class=title-3-1></span></font>
</B><font size=3><span class=title-3-1><B>System.Web.Mail 命名空间简介 </B></span></font></div>
                <center>
                  <hr width="100%">
                  <font style="FONT-SIZE: 9pt"></font>
                  <div align=left>
                    <p class="text"><strong>MailAttactment 类 </strong></p>
                    <p class="text"> MailAttachment 类用于添加要附加到电子邮件消息中的一个或多个文件。代码片段 1 显示了如何创建 MailAttachment 类的对象。</p>
                    <table width="532" height="79" border="0" bgcolor="#E2E2E2">
                      <tr>
                        <td width="522" height="75" align="left" valign="top"><p class="style10"> <span class="text"><strong>代码片段 1: </strong></span></p>
                            <p class="text"> MailAttachment mAttach = new MailAttachment( &quot;文件路径&quot; ); </p>                            </td>
                      </tr>
                    </table>
                    <p class="text"> 构造函数接受包含所附加文件路径的字符串。代码片段 2 显示了如何向 MailMessage 对象添加附件的示例。</p>
                    <table width="532" height="150" border="0" bgcolor="#E2E2E2">
                      <tr>
                        <td width="522" height="146" align="left" valign="top"><p class="style10"> <span class="text"><strong>代码片段 2: </strong></span></p>
                            <p class="text">MailMessage message = new MailMessage(); </p>
                            <p class="text"> MailAttachment mAttach = new MailAttachment( &quot; c:/winnt/Gold Petals.bmp&quot; ); </p>
                            <p class="text"> message.Attachments.Add(mAttach); </p>
                          </td>
                      </tr>
                    </table>
                    <p align="center" class="style4">&nbsp;</p>
                    <p align="left" class="text">&nbsp;</p>
                    <div align=right>
                      <table border=0 cellpadding=0 cellspacing=0 width=520>
                        <tbody>
                          <tr>
                            <td height=20 width=45><a href="index.htm"><img src="Images/home.gif" width="90" height="25" border="0"></a>
                              <div></div></td>
                            <td height=20 width=400><div align=right><a href="example3.htm"></a><a href="system_web1.htm"><img 
                  src="Images/pre.gif" width=67 height=21 border="0"></a></div></td>
                            <td width=7><div align=center></div></td>
                            <td width=68><div align=right><a href="sampleapp_sendmail.htm"><img 
                  src="Images/next.gif" 
              width=67 height=21 border="0"></a></div></td>
                          </tr>
                        </tbody>
                      </table>
                    </div>
                  </div>
                  <BR>
              </center></td>
          </tr>
        </tbody>
      </table>
      <!-- InstanceEndEditable --></TD>
  </TR>
  <TR>
    <TD align=left colSpan=3 height=97 vAlign=top>
      <DIV align=center></DIV>
      <DIV align=center></DIV>
      <DIV align=center>
      <OBJECT align=right classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 
      codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0 
      height=97 width=169>
        <PARAM NAME="movie" VALUE="Images/accp.swf"><PARAM NAME="quality" VALUE="high"><PARAM NAME="wmode" VALUE="transparent">
            <embed 
      src="Images/accp.swf" width="169" height="97" align="right" 
      quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" 
      type="application/x-shockwave-flash" 
      wmode="transparent"></embed></OBJECT></DIV></TD></TR></TBODY></TABLE></DIV></BODY><!-- InstanceEnd --></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -