Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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»ñÈ¡¿Í»§¶ËIP/Óû§ÃûµÈÐÅÏ¢

ASP.NET»ñÈ¡¿Í»§¶ËIP/Óû§ÃûµÈÐÅÏ¢  
1. ÔÚASP.NETÖÐרÓÃÊôÐÔ£º
»ñÈ¡·þÎñÆ÷µçÄÔÃû£ºPage.Server.ManchineName
»ñÈ¡Óû§ÐÅÏ¢£ºPage.User
»ñÈ¡¿Í»§¶ËµçÄÔÃû£ºPage.Request.UserHostName
»ñÈ¡¿Í»§¶ËµçÄÔIP£ºPage.Request.UserHostAddress
2. ÔÚÍøÂç±à³ÌÖеÄͨÓ÷½·¨£º
»ñÈ¡µ±Ç°µçÄÔÃû£ºstatic System. ......

Asp.Net XML²Ù×÷»ùÀà

using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.IO;
using System.Xml;
using System.Text; ......

̸̸ASP.NETÖеġ°µØÖ·¾ö¶¨ÄÚÈÝ¡±ÎÊÌâ

̸̸ASP.NETÖеēµØÖ·¾ö¶¨ÄÚÈÝ”ÎÊÌâ
ʲôÊǵØÖ·¾ö¶¨ÄÚÈÝ£¿
ÄãÔÚÍøÉϹ䣬¿´µ½Ò»¸öÓÐȤµÄÒ³Ã棬ÓÚÊÇÄã°ÑµØÖ·À¸ÀïµÄÄÚÈݸ´ÖÆÏÂÀ´£¬·¢¸øÕýÔÚ¸úÄãÁÄÌìµÄÍøÓÑ£º“¿´¿´Õâ¸öÒ³Ã棬ÓÐȤ¼«ÁË”£¬ÄãµÄÅóÓÑ´ò¿ªÄã·¢µÄÁ´½Ó£¬¿´µ½µÄÄÚÈÝÓ¦¸ÃºÍÄãÕýÔÚ¿´µÄÒ»Ñù¡£Ò²¼´£¬Ò³ÃæµÄÖ÷ÒªÄÚÈÝÓ¦µ±È¡¾öÓÚµØÖ·À¸ÖеĵØÖ·¡£µ«Ô ......

C#(asp.net)ʵÏÖĿ¼(ÎÞÀ©Õ¹Ãû)ÖØд

ÔÚ2003ϵͳÏÂ,°´ÕÕÔÚIIS6ÖÐÍøÕ¾ÓÒ¼üÊôÐÔ£­Ö÷Ŀ¼£­ÅäÖã­ÔÚͨÅä·ûÓ¦ÓóÌÐòÓ³É䣭²åÈëÉèÖÃÌí¼ÓͳÅä·û,¿ÉÖ´ÐÐÎļþÑ¡ÔñC:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll¡¡×¢Òâ“È·ÈÏÎļþÊÇ·ñ´æÔÚ”Õâ¸öÑ¡ÏҪѡÉÏ
2 Õ¾µãÖÐÒýÈëUrlRewrting.dll
3 Web.configÅäÖÃÐÞ¸ÄÈçÏ£º
<RewriterConfig& ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ