WEB开发网
开发学院WEB开发ASP ASP类的写法 阅读

ASP类的写法

 2009-04-22 10:38:37 来源:WEB开发网   
核心提示:<% Class myClassName PRivate int_ID '分类id '类初始化 Private Sub Class_Initialize() m_strError = "" End Sub '类释放 Private Sub Class_Terminate

<%
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
%>

Tags:ASP 写法

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接