何时将数据装载到Application 或 Session 对象中去?
发布时间:2016-12-29 来源:查字典编辑
摘要:<%FunctionGetEmploymentStatusListDimdd=Application(?EmploymentStatusLi...
<%
Function GetEmploymentStatusList
Dim d
d = Application(?EmploymentStatusList?)
If d = ?? Then
' FetchEmploymentStatusList 函数从数据库取数据,返回一个数组
d = FetchEmploymentStatusList()
Application(?EmploymentStatusList?) = d
End If
GetEmploymentStatusList = d
End Function
%>