随笔分类 -  ASP

摘要:<%'函数名:engotTopic'作 用:按单词截英文字符串'参 数:words ----原字符串' position ----截取长度、位置'返回值:截取后的字符串function engotTopic(ByVal words,ByVal position) dim flag,length if words="" then engotTopic="" exit function end ifwords=replace(replace(replace(replace(words,"&nbs 阅读全文
posted @ 2013-02-28 09:34 white-poplar 阅读(243) 评论(0) 推荐(0)
摘要:若向Access数据库中添加记录时,出现多添加一条空白记录时,可以先判断其中的字段不为空再插入数据,如:<%if request("name")<>"" then 添加记录 end if%> 阅读全文
posted @ 2013-02-27 14:53 white-poplar 阅读(241) 评论(0) 推荐(0)