Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

asp.net Óʼþ·¢ËÍ

//ʵÀý»¯Ò»¸öSmtpClientsmtp.DeliveryMethod = SmtpDeliveryMethod.Network;
SmtpClient smtp = new SmtpClient();
smtp.DeliveryMethod = SmtpDeliveryMethod.Network;

//½«smtpµÄ³öÕ¾·½Ê½ÉèΪ Networksmtp.EnableSsl = false;
//smtp·þÎñÆ÷ÊÇ·ñÆôÓÃSSL¼ÓÃÜ
smtp.EnableSsl = false;
//Ö¸¶¨ smtp ·þÎñÆ÷µØÖ·smtp.Port = 25;
//Ö¸¶¨ smtp ·þÎñÆ÷µÄ¶Ë¿Ú£¬Ä¬ÈÏÊÇ25£¬Èç¹û²ÉÓÃĬÈ϶˿ڣ¬¿ÉÊ¡È¥
//Èç¹ûÄãµÄSMTP·þÎñÆ÷²»ÐèÒªÉí·ÝÈÏÖ¤£¬ÔòʹÓÃÏÂÃæµÄ·½Ê½£¬²»¹ý£¬Ä¿Ç°»ù±¾Ã»Óв»ÐèÒªÈÏÖ¤µÄÁËsmtp.UseDefaultCredentials = true;
//Èç¹ûÐèÒªÈÏÖ¤£¬ÔòÓÃÏÂÃæµÄ·½Ê½smtp.Credentials = new NetworkCredential("ÓÊÏäÕʺÅ@163.com", "ÓÊÏäÃÜÂë");
smtp.Host = "www.126.com";
smtp.Port = 25;
smtp.UseDefaultCredentials = true;
smtp.Credentials = new NetworkCredential("lxw098@126.com", "ziyun890824x");

//ʵÀý»¯Ò»¸öÓʼþÀà
MailMessage mm = new MailMessage();

//ÓʼþµÄÓÅÏȼ¶£¬·ÖΪ Low, Normal, High£¬Í¨³£Óà Normal¼´¿É
mm.Priority = MailPriority.High;

//ÊÕ¼þ·½¿´µ½µÄÓʼþÀ´Ô´,
//µÚÒ»¸ö²ÎÊýÊÇ·¢ÐÅÈËÓʼþµØÖ·
//µÚ¶þ²ÎÊýÊÇ·¢ÐÅÈËÏÔʾµÄÃû³Æ
//µÚÈý¸ö²ÎÊýÊǵڶþ¸ö²ÎÊýËùʹÓõıàÂ룬Èç¹ûÖ¸¶¨²»ÕýÈ·£¬Ôò¶Ô·½ÊÕµ½ºóÏÔʾÂÒÂë
//936ÊǼòÌåÖÐÎĵÄcodepageÖµ
mm.from = new MailAddress("lxw098@126.com", "ÕæÓÐÒâ˼", Encoding.GetEncoding(936));
//ReplyTo ±íʾ¶Ô·½»Ø¸´ÓʼþʱĬÈϵĽÓÊÕµØÖ·£¬¼´£ºÄãÓÃÒ»¸öÓÊÏä·¢ÐÅ£¬µ«È´ÓÃÁíÒ»¸öÀ´ÊÕÐÅ
//ÉÏÃæºóÁ½¸ö²ÎÊýµÄÒâÒ壬 ͬ from µÄÒâÒå
mm.ReplyTo = new MailAddress("lxw098@126.com", "ÎҵĽÓÊÕÓÊÏä", Encoding.GetEncoding(936));
//ÓʼþµÄ³­ËÍÕߣ¬Ö§³ÖȺ·¢£¬¶à¸öÓʼþµØÖ·Ö®¼äÓðë½Ç¶ººÅ ·Ö¿ª
//µ±È»Ò²¿ÉÒÔÓÃÈ«µØÖ·£¬ÈçÏ£ºmm.CC.Add(new MailAddress("a@163.com", "³­ËÍÕßA", Encoding.GetEncoding(936)));mm.CC.Add(new MailAddress("b@163.com", "³­ËÍÕßB", Encoding.GetEncoding(936)));mm.CC.Add(new MailAddress("c@163.com", "³­ËÍÕßC", Encoding.GetEncoding(936)));mm.Bcc.Ad


Ïà¹ØÎĵµ£º

asp.netÓÒ¼üµ¯³öÉÏÏÂÎIJ˵¥

xtreeView.js
---==========================================================
var ie5=document.all&&document.getElementById
var ns6=document.getElementById&&!document.all
if (ie5||ns6)
var menuobj=document.getElementById("Panel2")
function showmenuie5(e)
{
   
&n ......

asp.net profile

ʹÓÃASP.NET 2.0 Profile´æ´¢Óû§ÐÅÏ¢[·­Òë] Level 200
×÷Õß: Stephen Walther
Ô­ÎĵØÖ·£ºhttp://msdn.microsoft.com/asp.net/default.aspx?pull=/library/en-us/dnvs05/html/UserProfiles.asp
ÒëÕߣºTony Qu
¸ÅÒª£ºÐí¶àASP.NETÓ¦ÓóÌÐòÐèÒª¿ç·ÃÎʵÄÓû§ÊôÐÔ¸ú×Ù¹¦ÄÜ£¬ÔÚASP.NET1.1ÖУ¬ÎÒÃÇÖ»ÄÜÈ˹¤ÊµÏÖÕâÒ»¹¦ÄÜ¡£µ«Èç ......

ASP.NETµ×²ãµÄ³õ²½ÈÏʶÓëÀí½â

      ×î½üÔÚ¹úÍâµÄÍøÕ¾ÂÒ×ßһͨ£¬·¢ÏÖһЩ±È½ÏºÃµÄÎÄÕ£¬ÊÕ¼¯ÕûÀí¼ÓÓÚ×Ô¼ºµÄÀí½â£¬×÷Ϊ±Ê¼ÇÐÎʽ¼Ç¼ÏÂÀ´£¬ÈÃÒÔºó×Ô¼ºÓиö»ØÒä¡£
¡¡¡¡ASP.NETÊÇÒ»¸ö·Ç³£Ç¿´óµÄ¹¹½¨WebÓ¦ÓõÄƽ̨,ËüÌṩÁ˼«´óµÄÁé»îÐÔºÍÄÜÁ¦ÒÔÖÂÓÚ¿ÉÒÔÓÃËüÀ´¹¹½¨ËùÓÐÀàÐ͵ÄWebÓ¦ÓÃ.¾ø´ó¶àÊýµÄÈËÖ»ÊìϤ¸ß²ãµÄ¿ò¼ÜÈçWebFormsºÍWebS ......

asp.net treeview ²Ëµ¥Ê÷ Á´½Ó Õ¹¿ª ÕÛµþ

»­Ã棺
<asp:HiddenField ID="hfdXuHao" runat="server" />
<asp:TreeView ID="tvMenu" runat="server" CssClass="tvStyle" EnableClientScript="false"
                        & ......

ASP.NETÑéÖ¤¿Ø¼þÏê½â

¹ã¶«ÄϺ£Êй«°²¾Ö¼ÆËã»ú°²È«¼à²ì¹ÉÓ÷¿­
    ASP.NETÊÇ΢ÈíÍƳöµÄÏÂÒ»´úWEB¿ª·¢¹¤¾ß£¬ÆäÇ¿´óµÄ¹¦ÄÜÁ¢¼´ÎüÒýÁËÒ»´óÅúWEB¿ª·¢ÕßͶÈëËüµÄÃÒÏ¡£ÏÖÔÚ£¬ÎÒÃÇÀ´¿´¿´ASP.NETµÄÑéÖ¤¿Ø¼þ£¬¸ÐÊÜASP.NETµÄÇ¿´ó¹¦ÄÜͬʱ·½±ãÎÒÃÇÏÖÔÚµÄWEB¿ª·¢¡£
WEB¿ª·¢ÕßÌرðÊÇASP¿ª·¢Õߣ¬Ò»Ö±¶ÔÊý¾ÝÑéÖ¤±È½ÏÄջ𣬵±ÄãºÃ²»ÈÝÒ×д³öÊý¾ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ