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

ASP.NETÖÐ×Ö·û´®½øÐÐMD5¼ÓÃÜ

×î½üÔÚ¿´¡¶asp.netͨÓÃÄ£¿é¼°µäÐÍϵͳ¿ª·¢ÊµÀýµ¼º½¡·£¬ÆäÖÐÓõ½ÁËMD5¼ÓÃÜ£¬´úÂëÈçÏ£º /// <summary>
/// ×Ö·û´®¼ÓÃܺ¯Êý
/// </summary>
/// <param name="strInput">ÊäÈë±»¼ÓÃܵÄ×Ö·û´®</param>
/// <returns>¼ÓÃܺóµÄ×Ö·û´®</returns>
public static string Encrypt(string strInput)
{
//ת»»ÎªUTF8±àÂë
byte[] b = System.Text.Encoding.UTF8.GetBytes(strInput);
//¼ÆËã×Ö·û´®UTF8±àÂëºóµÄMD5¹þÏ£Öµ£¬²¢×ª»»Îª×Ö·û´®
MD5 md5 = new MD5CryptoServiceProvider();
return System.Text.Encoding.UTF8.GetString(md5.ComputeHash(b));
}

ÔÚIEϲâÊÔÁË£¬ÔÚÊý¾Ý¿âÀï¿´µ½µÄȷʵÊǼÓÃÜÖ®ºóµÄ×Ö·û´®¡£
ÏÖÔÚ¿¼ÂǵÄÎÊÌâÊÇ£¬¸ÃÈçºÎʵÏÖ½âÃÜ£¿


Ïà¹ØÎĵµ£º

asp.net ÖÆ×÷°²×°°ü²¢×Ô¶¯°²×°SQLÊý¾Ý¿â

Ò»).´´½¨²¿ÊðÏîÄ¿    
  1.   ÔÚ“Îļþ”²Ëµ¥ÉÏÖ¸Ïò“Ìí¼ÓÏîÄ¿”£¬È»ºóÑ¡Ôñ“н¨ÏîÄ¿”¡£    
  2.   ÔÚ“Ìí¼ÓÐÂÏîÄ¿”¶Ô»°¿òÖУ¬Ñ¡Ôñ“ÏîÄ¿ÀàÐÍ”´°¸ñÖеē°²×°ºÍ²¿ÊðÏîÄ¿”£¬È»ºóÑ¡Ôñ“Ä£°å”´°¸ñ ......

ASP.NETÍêÕûѧϰÁ÷³Ì


Èç¹ûÄãÒѾ­Óн϶àµÄÃæÏò¶ÔÏ󿪷¢¾­Ñ飬Ìø¹ýÒÔÏÂÕâÁ½²½£º
      µÚÒ»²½¡¡ÕÆÎÕÒ»ÃÅ.NETÃæÏò¶ÔÏóÓïÑÔ£¬C#»òVB.NET ÎÒÇ¿ÁÒ·´¶ÔÔÚûϵͳѧ¹ýÒ»ÃÅÃæÏò¶ÔÏó(OO)ÓïÑÔµÄÇ°ÌáÏÂȥѧASP.NET¡£ ASP.NETÊÇÒ»¸öÈ«ÃæÏò¶ÔÏóµÄ¼¼Êõ£¬²»¶®OO£¬ÄǾø¶Ôѧ²»ÏÂÈ¥!
¡¡¡¡µÚ¶þ²½¡¡¶Ô.NET FrameworkÀà¿âÓÐÒ»¶¨µÄÁ˽⠿ÉÒ ......

ASP.NETÖнâ¾ö´«µÝÖÐÎIJÎÊý

1.ÉèÖÃweb.configÎļþ.
<system.web>
......
<globalization requestEncoding="gb2312" responseEncoding="gb2312" culture="zh-CN" fileEncoding="gb2312" />
......
</system.web>
 
»òÕߣº
aspxÎļþÖÐ:
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"&g ......

google suggest ÏÂÀ­²Ëµ¥(asp.net/jQuery°æ±¾)

suggest.jsÎļþ£¨ÔÚÒýÈësuggest.jsÎļþÇ°ÐèÒªÏÈÒýÈëjquery-1.4.2.min.js£©£º
 $(function() {
var k = -1;
//¸ø²éѯÎı¾¿ò°ó¶¨click keyupʼþ£¬½øÐÐÕâÁ½¸öʼþ£¬×Ô¶¯²éѯÊý¾Ý
$("#FrmChangshang").bind('click keyup', function(event) {
//»ñÈ¡¼üÅ̲Ù×÷ʼþ´úÂë
var keyc = event ......

ASP.NET³£ÓÃÓï¾ä1 20Ìõ ·Ç³£ÊµÓÃ

1.//µ¯³ö¶Ô»°¿ò.µã»÷תÏòÖ¸¶¨Ò³Ãæ
Response.Write(&quot; <script>window.alert('¸Ã»áԱûÓÐÌá½»ÉêÇë,ÇëÖØÐÂÌá½»£¡')
</script>&quot;);
Response.Write(&quot; <script>window.location
='http://www.51aspx.com/bizpulic/upmeb.aspx' </script>&quot;);
2.//µ¯³ö¶Ô»°¿ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ