asp.net textboxÑéÖ¤ - .NET¼¼Êõ / ASP.NET
ÒªÇó textboxÖÐ ¿ÉÒÔÊäÈëÊý×Ö»ò×Öĸ µ«±ØÐëÊÇ6λÒÔÉϲ»ÄÜÊäÈ뺺×Ö
ÕýÔò [0-9a-zA-Z] Èç¹ûÂú×ãÕýÔò ÔÙÅжÏstr.length>6 ¿ÉÒÔÈ«ÊÇÊý×ÖÒ²Ò²¿ÉÈ«ÊÇ×ÖĸÒýÓà ÕýÔò [0-9a-zA-Z] Èç¹ûÂú×ãÕýÔò ÔÙÅжÏstr.length>6 2Â¥²»ÊÇ˵³öÀ´ÁËÂ𣿠ÒýÓà ҪÇó textboxÖÐ ¿ÉÒÔÊäÈëÊý×Ö»ò×Öĸ µ«±ØÐëÊÇ6λÒÔÉϲ»ÄÜÊäÈ뺺×Ö ÎÒÏëÔÚÕýÔòÀïÃæÍê³É ÔÚÌύ֮ǰ¾ÍÅжϺà ŶÔÀ´ÄãÐèÒªµÄÊÇ´úÂ룿 JScript code: var r=/^[0-9a-zA-Z] $/; if(!r.test(obj.value)) { if(obj.value.length>6) { alert("ÇëÊäÈëÕýÈ·µÄÊý¾Ý");return} } Java code: ^\d{6}|[a-zA-Z]{6}$ ºÃÏñÓÐÏֳɵÄÑéÖ¤¿Ø¼þ£¬ ²»ÐоÍдÕýÔò±í´ïʽÒýÓà Java code ^\d{6}|[a-zA-Z]{6}$ ÄãµÄÒªÇóÊÇ6λÒÔÉÏ£¿ JScript code: ^\d{6,}|[a-zA-Z]{6,}$ C# code Code highlighting pro
Ïà¹ØÎÊ´ð£º
ÔÚaspÀïÔõôµ÷ÓÃjavaдµÄwebservice·½·¨£¬Óкܶ෽·¨ - <message name="RtPnrIn"> <part name="bstrPnrNO" type="s:string" /> <part name ......
C# code: SqlConnection conn = CsDB.sqlcon(); SqlDataAdapter da = new SqlDataAdapter("select fwCoding from bjmuma_fwCoding where OrderNumber='" + Order + & ......
ÎÒÓÃasp.net¿ª·¢wapÕ¾µã£¬Íê³ÉºóÈ¥http://validator.w3.org/ÕâÀïÑéÖ¤ÎÒµÄWapÒ³ÃæÊÇ·ñ±ê×¼£¬ÆäËüÎÊÌâ¶¼¸ÄºÃÁË£¬ ¾ÍÊ£ÕâÒ»¸ö´íÎóÁË£¬°´×ÖÃæÒâ˼Àí½âÊÇ˵nameÊôÐÔÒÑ´æÔÚ£¬ÀàËÆÕâÑùµÄ´íÎó»¹Óв»ÄÜÓÃborder ,align,sizeµ ......
±¾È˹¤×÷¾ÑéÒ»ÄêÒÔÉÏ ÊìϤasp.net ÊìϤjavascript ÊìϤCss ÊìϤajax ÊìϤsqlserver2005 ÓÐÒ»ÄêµÄÏîÄ¿¾Ñé ¾ßÌåÏîÄ¿ºÍÆäËûµÄ¾Í²»ÔÚÕâдÁË ÓÐÒâÕßÁªÏµ£º QQ:359233910 ÒýÓà ±¾È˹¤×÷¾ÑéÒ»ÄêÒÔÉÏ ÊìϤasp ......
ÎÒ×î½ü×öÁËÒ»¸öÍøÕ¾ÊǹØÓÚ²úƷչʾµÄ ~ Õû¸öÍøÕ¾Í¼Æ¬¶¼Õ¼ÓÃÁËÒ»´ó°ë ÕâÑùµÄ»°·ÃÎÊËٶȾͷdz£Âý ÓÐʲô°ì·¨¿ÉÒÔ½â¾öÂ𣿠Âé·³´ó¼Ò¶à¶à¸øµãÒâ¼û £¡ ÓÐʲô¾¡¹Ü˵ 3Q´ó¼Ò htmlÒ³Ãæ. Õâ¸ö,¼ÈÈ»Ö÷Ò ......