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

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 - Web ¿ª·¢ / ASP

ÔÚaspÀïÔõôµ÷ÓÃjavaдµÄwebservice·½·¨£¬Óкܶ෽·¨
- <message name="RtPnrIn">
  <part name="bstrPnrNO" type="s:string" /> 
  <part name ......

asp.netµ¼³öEXCELÎÊÌ⣡ - .NET¼¼Êõ / ASP.NET

C# code:

SqlConnection conn = CsDB.sqlcon();
SqlDataAdapter da = new SqlDataAdapter("select fwCoding from bjmuma_fwCoding where OrderNumber='" + Order + & ......

WapµÄÒ»¸ö¾ÞÍ·ÌÛµÄÎÊÌ⣡ - .NET¼¼Êõ / ASP.NET

ÎÒÓÃasp.net¿ª·¢wapÕ¾µã£¬Íê³ÉºóÈ¥http://validator.w3.org/ÕâÀïÑéÖ¤ÎÒµÄWapÒ³ÃæÊÇ·ñ±ê×¼£¬ÆäËüÎÊÌâ¶¼¸ÄºÃÁË£¬
¾ÍÊ£ÕâÒ»¸ö´íÎóÁË£¬°´×ÖÃæÒâ˼Àí½âÊÇ˵nameÊôÐÔÒÑ´æÔÚ£¬ÀàËÆÕâÑùµÄ´íÎó»¹Óв»ÄÜÓÃborder ,align,sizeµ ......

asp.net³ÌÐòÔ±ÇóÖ° - .NET¼¼Êõ / ·Ç¼¼ÊõÇø

±¾È˹¤×÷¾­ÑéÒ»ÄêÒÔÉÏ
ÊìϤasp.net
ÊìϤjavascript
ÊìϤCss
ÊìϤajax
ÊìϤsqlserver2005
ÓÐÒ»ÄêµÄÏîÄ¿¾­Ñé
¾ßÌåÏîÄ¿ºÍÆäËûµÄ¾Í²»ÔÚÕâдÁË
ÓÐÒâÕßÁªÏµ£º
QQ:359233910
ÒýÓÃ
±¾È˹¤×÷¾­ÑéÒ»ÄêÒÔÉÏ
ÊìϤasp ......

asp.netÈçºÎÌá¸ß·ÃÎÊËÙ¶È - .NET¼¼Êõ / ASP.NET

ÎÒ×î½ü×öÁËÒ»¸öÍøÕ¾ÊǹØÓÚ²úƷչʾµÄ ~ Õû¸öÍøÕ¾Í¼Æ¬¶¼Õ¼ÓÃÁËÒ»´ó°ë  
ÕâÑùµÄ»°·ÃÎÊËٶȾͷdz£Âý ÓÐʲô°ì·¨¿ÉÒÔ½â¾öÂð£¿
Âé·³´ó¼Ò¶à¶à¸øµãÒâ¼û £¡ ÓÐʲô¾¡¹Ü˵ 
3Q´ó¼Ò
htmlÒ³Ãæ.

Õâ¸ö,¼ÈÈ»Ö÷Ò ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ