脚 本 之 家 www.jb51.net
页面导航: 首页网络编程ASP编程ASP CLASS类 → 正文内容

ASP类的写法

发布:dxy 字体:[增加 减小] 类型:转载
<%
Class myClassName
Private int_ID '分类id
'类初始化
Private Sub Class_Initialize()
m_strError = ""
End Sub
'类释放
Private Sub Class_Terminate()
m_strError = ""
End Sub
'-----读写各个属性---------------------------
Public Property Get ID
ID = int_ID
End Property
Public Property Let ID(intId)
int_ID = intId
End Property
public Function method()
End Function
End Class
%>

文章评论

共有 位脚本之家网友发表了评论我来说两句

最 近 更 新
热 点 排 行