asp.net 顯ʾUniCodeÌØÊâ×Ö·û
1. Web.configÖÐÌí¼Ó:
<globalization requestEncoding="utf-8" responseEncoding="utf-8"/>
2. 頁ÃæÖÐÌí¼Ó:
<head>
<meta http-equiv="Content-Type" content="charset=utf-8"/>
</head>
3. ×¢ÒâʹÓõÄ樣ʽÖеÄFontÊÇ·ñ會ÏÞÖÆ×ÖµÄ顯ʾ(×îºÃ²»Òª¼Ó×ÖÐÍ)
Ïà¹ØÎĵµ£º
-----------------------------------------------------ÒýÑÔ¿ªÊ¼-----------------------------------------------------
ÊÂÇéµÄÆðÒòÊÇÕ¾µã³öÏÖδµÇ½µÄ¼ÙÏ󣬵ã×ŵãמÍÌøµ½µÇ½ҳ»òÌáʾÓû§µÇ½¡£
ÒòΪºÜ¶àÒ³Ã涼¼Ì³ÐÁËÒ»¸öPageBaseÀ࣬Õâ¸öÀà»áÅжÏÓû§ÊÇ·ñµÇ½Èç¹ûûÓеǽ¾Í»á ......
¶¯Ì¬Ò³ÃæÉú³É¾²Ì¬Ò³Ãæ˵ÆðÀ´Æäʵ²»ÄÑ£¬Ö÷ÒªÊÇ˼ÏëµÄÎÊÌ⣬ÏñÄÇЩÐÂÎŲ»Ì«³£¸Ä¶¯µÄ£¬ÎÒÃÇ¿ÉÒÔ½«ËûÉú³É¾²Ì¬µÄ£¬À´Ìá¸ßÍøÕ¾µÄ·ÃÎÊËٶȣ¬ÒÔϾÍÊÇÎҵķ½·¨£¬ºÜ¼òµ¥
ÎÒÃÇÏȽ«ÎÒÃǵĶ¯Ì¬ÍøÕ¾·Åµ½ÍøÉÏ£¬²¢ÇÒ¿ÉÒÔÕý³£·ÃÎÊ£¬È»ºó¾ÍÊÇÓõ½ÁËץȡҳÃæµÄ¼¼ÊõÁË
/// <summary>
/// »ñµÃÍøÒ³ÄÚÈÝ
& ......
ASP.NET¿ÉÒÔÀûÓÃWebConfigurationManagerºÍÖ±½ÓÀûÓÃXML·½Ê½²Ù×÷web.config,WebConfigurationManager±È½Ï¼òµ¥£¬µ«ÊÇÇå³ý×¢ÊÍ´úÂë¡£Á½Õß²Ù×÷·½Ê½¶¼ÐèÒªÓÐдȨÏÞ¡£
·½·¨Ò»£¬ÀûÓÃWebConfigurationManager£¬ÐèÒªÒýÓÃSystem.Web.Configuration.WebConfigurationM ......
1. Get(¼´Ê¹ÓÃQueryStringÏÔʽ´«µÝ)
·½Ê½£ºÔÚurlºóÃæ¸ú²ÎÊý¡£
Ìص㣺¼òµ¥¡¢·½±ã¡£
ȱµã£º×Ö·û´®³¤¶È×Ϊ255¸ö×Ö·û£»Êý¾Ýй©ÔÚurlÖС£
ÊÊÓÃÊý¾Ý£º¼òµ¥¡¢ÉÙÁ¿¡¢¹Ø¼üµÄÊý¾Ý¡£
ÊÊÓ÷¶Î ......