07 2011 档案
一个Asp 类的模块(成员变量、成员函数、构造析构函数)
摘要:class flow_step dim tbname '公有成员变量,只能在类的函数内赋值 dim form_id private stype '私有成员变量,只能在类的函数内赋值 'const max_len只能在类的函数内使用const dim my_array(2) '定义数组 '构造函数,可以在这里为成员变量进行初始化赋值 private sub class_initialize() tbname="" form_id=1 stype=0 my_array(0)="Jan" my_array(1)=&quo 阅读全文
posted @ 2011-07-20 17:30 林枫山 阅读(439) 评论(0) 推荐(0)
Asp综合手册
摘要:1.释放变量 flow_name="" flow_name=empty flow_name=null 释放对象 set rs=nothing dim赋值 dim a:a=1 2.截取最后一个字符 str=left(str,len(str)-1) 截取第一个字符 str=right(str,len(s 阅读全文
posted @ 2011-07-20 12:12 林枫山 阅读(459) 评论(0) 推荐(0)
Sql Server 手册
摘要:1.字符串操作函数 假设@a='abc789' 1.charindex 返回字符或者字符串在另一个字符串中的起始位置 charindex('b',@a) --结果:2 2.substring 返回字符、二进制、文本或图像表达式的一部分(截取字符串) substring(@a,1,len($a)) - 阅读全文
posted @ 2011-07-19 11:28 林枫山 阅读(757) 评论(0) 推荐(0)