stringÖмÓÈëHtml - .NET¼¼Êõ / C#
ÎÒҪʵÏÖÒ»¸öÓʼþÑéÖ¤Óû§µÄ¹¦ÄÜ£¬ÔÚ·¢Ë͵ÄÓʼþÄÚÈÝÖÐÐèÒªÌí¼ÓÒ»¸öÁ´½Ó£¬µ«ÊÇÈçºÎÌí¼ÓÕâ¸öÁ´½ÓÄØ£¿´úÂëÈçÏ£ºMailMessage message = new MailMessage(from, to);
message.Subject = "·¢ËÍ´øÁ´½ÓµÄʾÀý";
message.SubjectEncoding = System.Text.Encoding.UTF8;
message.Body = "<a href=\"www.baidu.com\">Á´½Ó</a>";
message.BodyEncoding = System.Text.Encoding.UTF8;
ÕâÑù×Ó·¢Ë͵½ÓÊÏäµÄÄÚÈÝÎÞ·¨½«¡°Á´½Ó¡±ÏÔʾΪ³¬Á´½Ó£¬¶øÊǽ«HtmlÎı¾ÏÔʾ³öÀ´ÁË¡£ÇëÎÊÈçºÎÔÚ·¢ËÍÓʼþµÄÄÚÈÝÖмÓÈ볬Á·½ÓÄØ£¿
Á´½Ó¼ÓÈëµ½html×÷Ϊ¸½¼þ·¢ËÍ
message.IsBodyHtml = true;
ÎÒÒ²ÏëÖªµÀ°¡£¬ºÇºÇ£¡Ò»Ö±Ò²ÔÚ×öÕâ¸ö¶«¶«£¡°ï¶¥£¡Â¥Ö÷ÖªµÀºó¼ÇµÃ¹²ÏíŶ£¡
¸ñʽΪhtml
µã»÷Á´½Ó»ñÈ¡²ÎÊýʵÏÖÑéÖ¤
Message.BodyFormat = System.Web.Mail.MailFormat.Html;
jmail.Message j = new jmail.Message();
j.ContentType = "text/html";
public void MailSend(string Mailfrom,string MailTo,string MailPwd,string Mailtitle,string MailCon)
{
MailMessage MyMail = new MailMessage();
MyMail.from = new MailAddress("", "");
MyMail.To.Add(new MailAddress(""));
MyMail.Subject = Mailtitle;
MyMail.Body = MailCon;
MyMail.IsBodyHtml = false;
SmtpClient smtpclient = new SmtpClient();
smtpclient.Del
Ïà¹ØÎÊ´ð£º
ÈçÌ⣬ÔÚWINDOWSµ×ϵÄCODE»á£¬µ«ÔÚLINUXϲ»ÖªµÀÈçºÎʵÏÖ£¬JSµÄ´úÂëÓ¦¸ÃÊDz»Ò»ÑùµÄ¡£ Çó½Ì¡£
·Ö²»¹»ÔÙ¼Ó¡£
http://topic.csdn.net/u/20100113/08/17ba1e71-4c33-43f6-91a5-0e031c86e5ed.html
linux ......
ÎÒÓÃXmlDocumentÉú³ÉXML
XmlElement remarkNode = node.OwnerDocument.CreateElement("remark");
remark1Node.InnerXml = "";
Èç¹ûInnerXml¸³Öµ²»Îª¿Õ£¬ÔòÉú³ÉµÄ±ê¼ÇÊÇûÎÊÌâµÄ£¬±ÈÈ磺<r ......
¡°¾²Ì¬·½·¨ºÍ¾²Ì¬±äÁ¿´´½¨ºóʼÖÕʹÓÃͬһ¿éÄڴ棬¶øʹÓÃʵÀýµÄ·½Ê½»á´´½¨¶à¸öÄÚ´æ."
Õâ¾ä»°¶ÔÂð£¿
ÔÚ¶àÏ̺߳ÍÒì²½³ÌÐòÖ´ÐÐʱ£¬Ê¹Óþ²Ì¬·½·¨»á³öÏÖÒì³£Âð£¿
ÀàµÄ¶à¸öʵÀý,Æä´úÂëÔÚÄÚ´æÖÐÒ²Ö»ÊÇÒ»·Ý,ÿ¸öʵÀ ......
ÓÃlistviewÏÔʾ³ö´ÓÊý¾Ý¿âÖвéѯ³öµÄ¼Ç¼£¬ÏëÔÚ×îºó¼Ç¼ºóÃæÌí¼ÓÒ»ÌõºÏ¼ÆÐУ¬ÈçºÎʵÏÖ£¡Ð»Ð»´ó¼Ò£¡
°ó¶¨Êý¾ÝÄãÓ¦¸ÃûÎÊÌâ°É£¬°ó¶¨ÍêÒÔºóÓÃÒ»¸öÑ»·°ÑÄãҪͳ¼ÆÊý¾ÝµÄÁÐÖеÄÊý¾Ý×ܺÍÓÃÒ»¸ö±äÁ¿½ÓÊÜ£¬È»ºóÔÚÑ»·ÍâÃæne ......
ÎÒÕâÑùд¾ÍûÎÊÌâ
#cp1 img{magin:5px;}
#cp2 img{magin:5px;}
#cp3 img{magin:5px;}
ÎÒÏ뾫¼ò´úÂ룬ÓÃÏÂÃæµÄд·¨£¬¾Í³ö´íÁË£¬ÊDz»ÊÇÓï·¨ÓÐÎÊÌ⣿
#cp1,#cp2,#cp3 img{magin:5px;}
ÊÇÓï·¨ÓÐÎÊÌ⣬ÄãµÄд·¨Ïà ......