asp.net ½«ÖÐÎÄ·Òë³ÉÆ´Òô£¨VS2008£©
3¸öÎļþ
code ÀàÎļþ
using System;
using System.Text;
namespace ConcreteMIS.Common.Chinese
{
/// <summary>
/// ºº×ÖÆ´ÒôÉùĸ¼ÆËãÀà
/// Write by WangZhenlong at 2003/11/29
/// </summary>
public class ChineseConvertor
{
private ChineseConvertor() { }
/// <summary>
/// »ñȡһ´®ºº×ֵį´ÒôÉùĸ
/// </summary>
/// <param name="chinese">Unicode¸ñʽµÄºº×Ö×Ö·û´®</param>
/// <returns>Æ´ÒôÉùĸ×Ö·û´®</returns>
/// <example>
/// “ÐÂÇÅÈí¼þ”ת»»Îª“xqrj”
/// </example>
public static String Convert(String chinese)
{
char[] buffer = new char[chinese.Length];
for (int i = 0; i < chinese.Length; i++)
{
buffer[i] = Convert(chinese[i]);
}
return new String(buffer);
}
/// <summary>
/// »ñȡһ¸öºº×ֵį´ÒôÉùĸ
 
Ïà¹ØÎĵµ£º
ǰ¶Îʱ¼äÓÉÓÚ³ÌÐò³öÏÖÁ˱ȽϴóµÄÐÔÄÜÎÊÌ⣬ÊÓͼ£¨View£©Ö®¼äµÄÌø×ªËٶȷdz£Âý¡£Í¨¹ýFiddlerµ÷ÊԺͷÖÎö£¬²éÕÒµ½ÊÇÓÉÓÚÔÚÊÓͼ(View)ת»»
£¨PostBack£©¹ý³ÌÖУ¬¿Í»§¶Ë¸ø·þÎñÆ÷¶ËµÄ·¢ËÍ×Ö½ÚÊý·Ç³£´ó£¬Ò»°ãÔÚ30KÒÔÉÏ£¬¾ÍÏ൱ÓÚ¿Í»§¶Ëÿ´Î¶¼Òª¸ø·þÎñÆ÷ÉÏ´«´óÊ®KµÄÊý¾ÝÁ¿£¬ÕâÈç¹ûÊDZȽÏ
ºÃµÄÍøÂç»·¾³ÏÂÍêÈ«ÊÇ¿ÉÒÔºöÂԵ쬵«ÊÇÄ ......
Èç¹û¶Ô΢ÐͼÆËã»úÓ²¼þϵͳÓÐ×ã¹»µÄÁ˽⣬ÄÇôÎÒÃǶÔÓÚCacheÕâ¸öÃû´ÊÒ»¶¨ÊǶúÊìÄÜÏêµÄ¡£ÔÚCPUÒÔ¼°Ö÷°åµÄоƬÖУ¬¶¼ÒýÈëÁËÕâÖÖÃûΪ¸ßËÙ»º³å´æ´¢Æ÷£¨Cache£©µÄ¼¼Êõ¡£ÒòΪCacheµÄ´æÈ¡ËٶȱÈÄÚ´æ¿ì£¬Òò¶øÒýÈëCacheÄܹ»ÓÐЧµÄ½â¾öCPUÓëÄÚ´æÖ®¼äµÄËٶȲ»Æ¥ÅäÎÊÌâ¡£Ó²¼þϵͳ¿ÉÒÔÀûÓÃCache´æ´¢CPU·ÃÎʸÅÂʸߵÄÄÇЩÊý¾Ý£¬µ±CPUÐèÒª· ......
ÔÚ±¾ÑÝÁ·ÖУ¬Äú½«Ê¹Óà ECMAScript (JavaScript) ÒÔÈ«Çò»¯¸ñʽÏÔʾÈÕ¡¢ÔÂºÍÆäËûÓëÈÕÆÚÏà¹ØµÄÖµ¡£ASP.NET ÖÐµÄ AJAX ¹¦ÄÜ»ùÓÚ ScriptManager ¿Ø¼þÖеÄÉèÖÃÌṩ¿Í»§¶ËÈ«Çò»¯Ö§³Ö¡£½«ÕâЩȫÇò»¯ÉèÖÃÓ¦ÓÃÓÚ Web Ó¦ÓóÌÐòºó£¬¿ÉÒÔʹÓÿͻ§¶Ë½Å±¾»ùÓÚÇøÓòÐÔÖµÉèÖà JavaScript Date »ò Number ¶ÔÏ ......