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

asp.net×¢²áÓû§Í¨¹ýemailÓÊÏäÑéÖ¤µÄʵÏÖ·½Ê½

 public void SendSMTPEMail(string strSmtpServer, string strfrom, string strfromPass, string strto, string strSubject, string strBody)
{
System.Net.Mail.SmtpClient client = new SmtpClient(strSmtpServer);
client.UseDefaultCredentials = false;
client.Credentials = new System.Net.NetworkCredential(strfrom, strfromPass);
client.DeliveryMethod = SmtpDeliveryMethod.Network;
System.Net.Mail.MailMessage message = new MailMessage(strfrom, strto, strSubject, strBody);
message.BodyEncoding = System.Text.Encoding.UTF8;
message.IsBodyHtml = true;
client.Send(message);
}
µÚÒ»¸ö²ÎÊýÈç¹ûÊÇ163ÓÊÏä¾Íдsmtp.163.com
µÚ¶þ¸ö²ÎÊý·¢¼þÈ˵ÄÕʺÅ
µÚÈý¸ö²ÎÊý·¢¼þÈËÃÜÂë
µÚËĸö²ÎÊýÊÕ¼þÈËÕʺÅ
µÚÎå¸ö²ÎÊýÖ÷Ìâ
µÚÁù¸ö²ÎÊýÄÚÈÝ.


Ïà¹ØÎĵµ£º

ASP.NETʵÏÖÔÚÏß²¥·ÅFLVÊÓÆµ¼þµÄ´úÂë

ASP.NETʵÏÖÔÚÏß²¥·ÅFLVÊÓÆµ¼þµÄ´úÂë
 
ǰ̨µ÷ÓôúÂë
<!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 id="Head1&q ......

ASP.NETÖ´Ðд洢¹ý³Ì£¬²¢»ñÈ¡´æ´¢¹ý³ÌµÄ·µ»ØÖµ

//Á¬½ÓÊý¾Ý¿â
        string myStr = CODE.DbHelperSQL.connectionString;
        SqlConnection myConn = new SqlConnection(myStr);
        myConn.Open();
      &nbs ......

ASP.NET°´Ê±¼ä²éѯ

select  top 6 *  from ViewHouseSale  where  1=1 and  (EstateType='0' or EstateType='1')
and DateDiff(day,PubDate,getdate()) <=7 and IfBenefit='Y' and IfValid='Y'  order by PubDate DESC
select  top 6 *  from ViewHouseSale  where  1=1 and&nb ......

ASP.NET MD5+SHA1 ¼ÓÃÜ

-----MD5¼ÓÃÜ
 
//ʹÓüÓÃÜ·þÎñÌṩ³ÌÐò(CSP) ÌṩµÄʵÏÖ£¬¼ÆËãÊäÈëÊý¾ÝµÄMD5 ¹þÏ£Öµ
            MD5CryptoServiceProvider crypto = new MD5CryptoServiceProvider();
            //½«×Ö·û´®× ......

SQL 2005 ASP.NETÊý¾Ý¿âÁ¬½Ó×ܽá

 
VS2005+SQL2005 ASP.NET2.0Êý¾Ý¿âÁ¬½Ó×ܽá
    Í¨¹ýÉÏÆªÎÄÕ£¨http://www.cnblogs.com/user34j/archive/2007/01/23/628426.html£©µÄÉèÖÃÆäʵÒѾ­²î²»¶àÍê³ÉÁË£¬Ö»ÊÇ»¹ÓÐһЩϸ½ÚµÄµØ·½Ã»ÓÐ×öºÃ£¬¾­¹ýÒ»·¬Ñо¿ÏÖÔÚÖÕÓڸ㶨ÁË¡£¶ÔÓÚÏñÎÒÕâÑùµÄÐÂÊÖÀ´Ëµ£¬Õû¸öÊý¾Ý¿âÁ¬½ÓÕæÊDz»ÈÝÒס£ÏÖ×ܽáÈçÏ£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ