ASP类的写法
(编辑:jimmy 日期: 2024/11/16 浏览:3 次 )
<%
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
%>
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
%>
下一篇:为什么 Windows2003 的 IIS6.0 不能上传超过 200K 的文件?