asp问题,帮解释一下,谢谢

来源:百度知道 编辑:UC知道 时间:2024/06/23 13:23:46
<%
Recordset1.Close()
Set Recordset1 = Nothing
%>
为什么要对记录集置空呢?

<% '程序段符号
Recordset1.Close() '关闭Recordset1记录集
Set Recordset1 = Nothing' 把Recordset1置空
%>

释放资源 ... 爱护环境爱护服务器 ...

释放资源
也便于下次使用

释放内存,让你的电脑不会越来越卡!