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

asp.netÖÐʵÏÖ¼ò·±Ìåת»¯

1.binÌí¼ÓÒýÓÃChineseConverter.dll
2. Ìí¼Óusing Microsoft.International.Converters.TraditionalChineseToSimplifiedConverter;
  
string strTest = "·±體×Ö";
   
 Response.Write(string.Format("·±ÌåÊä³ö:{0}<br/>", ChineseConverter.Convert(strTest, ChineseConversionDirection.SimplifiedToTraditional)));
Response.Write(string.Format("¼òÌåÊä³ö:{0}<br/>", ChineseConverter.Convert(strTest, ChineseConversionDirection.TraditionalToSimplified)));


Ïà¹ØÎĵµ£º

ASP.NETÑéÖ¤¿Ø¼þÏê½â

 
ASP.NET
¹«ÓÐÁùÖÖÑéÖ¤¿Ø¼þ£¬·Ö±ðÈçÏ£º
 
RequiredFieldValidator
£¨±ØÐë×Ö¶ÎÑéÖ¤£© ÓÃÓÚ¼ì²éÊÇ·ñÓÐÊäÈëÖµ
CompareValidator
£¨±È½ÏÑéÖ¤£© °´É趨±È½ÏÁ½¸öÊäÈë
RangeValidator
£¨·¶Î§ÑéÖ¤£© ÊäÈëÊÇ·ñÔÚÖ¸¶¨·¶Î§
RegularExpressionValidator
£¨ÕýÔò±í´ïʽÑéÖ¤£© ÕýÔò±í´ïʽÑéÖ¤¿Ø¼þ
CustomValid ......

asp.netʵÏÖα¾²Ì¬


webconfigα¾²Ì¬
<system.web>
<httpHandlers>
<add verb="*" path="*.aspx" type="URLRewriter.RewriterFactoryHandler, URLRewriter"/>
<add verb="*" path="*.html" type="URLRewriter.RewriterFactoryHandler, URLRewriter"/>
</httpHandlers>
</system.web> ......

Ó¦ÓÃASP.NET AJAXµÄ×¢ÒâÊÂÏî

 1. ¾µÍ·Ç¨áãÓ¦µ±Ó¦ÓÃʵʩ¾µÍ·Öض¨ÏòµÄResponse.Redirect¶ø²»ÊÇServer.Transfer£¬ÓÉÓÚServer.Transfer²»¸Ä±äIE¿Í»§¶ËURL£¬ÄÜÒÔÖÂASP.NET AJAX¿Í»§¶Ë½Å±¾·ÃÎÊ×ÊÔ´µÄʱ·Ö³öÏÖURL´í´¦¡£
¶þ.ÔÚ·þÎñÆ÷¶ËµÇ¼Ç½Å±¾ºÍÑÚ²Ø×Ö¶ÎÓ¦µ±Ê©ÓÃÖÖScriptManager£¬¶ø²»ÊÇPage.ClientScript¶ÔÏó£¬ÓÉÓÚPage.ClientScriptµÄ²½ÖèÊǽ«½Å±¾µÇ¼Ç ......

ASP.NET

      ListBox Web ·þÎñÆ÷¿Ø¼þʹÓû§Äܹ»´ÓÔ¤¶¨ÒåµÄÁбíÖÐÑ¡ÔñÒ»Ïî»ò¶àÏî¡£
 
Ò»¡¢·½°¸
ÈôÒªÒ»´ÎÏÔʾ¶à¸öÏʹÓû§Äܹ»´ÓÔ¤¶¨ÒåÁбíÖÐÑ¡ÔñÒ»¸ö»ò¶à¸öÏÇëʹÓà ListBox Web ·þÎñÆ÷¿Ø¼þ¡£ListBox ¿Ø¼þÓë DropDownList ¿Ø¼þµÄ²»Í¬Ö®´¦ÔÚÓÚ£¬Ëü¿ÉÒÔÒ»´ÎÏÔʾ¶à¸öÏʹÓû§Äܹ»Ñ¡Ôñ¶à¸öÏî£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ