Friday, December 14, 2007

How to close the ADO Recordset?

How to close the ADO Recordset?

If we do not need to use the recordset, we can close the Recordset object:

<%

rs.close 'Close the current recordset, but you can still use it to open another table

Set rs = Nothing 'remove the ADO Recordset from the system resource.

%>


The ASP codes are written and described as above.

No comments: