• λ我爱Aspx >> Asp.Net >> Asp自定义函数参考
  • Asp自定义函数参考

  • :未知  Դ:internet  :2007-5-20 16:39:49  ؼ:asp
  • 判断电话号码是否正确函数:

    function IsValidTel(para)on error resume nextdim strdim l,iif isNUll(para) then IsValidTel=falseexit functionend ifstr=cstr(para)if len(trim(str))<7 thenIsValidTel=falseexit functionend ifl=len(str)for i=1 to lif not (mid(str,i,1)>="0" and mid(str,i,1)<="9" or mid(str,i,1)="-") thenIsValidTel=false exit functionend ifnextIsValidTel=trueif err.number<>0 then err.clearend function

    Ҷƪл˵?
  • һƪ购物推车设计8个方法
    һƪASP数据库连接