ADO Close Method
Complete Record Object Reference
The Close method is used to close a Connection object, a Record object, a
Recordset object, or a Stream object to free
system resources.
Note: When an object is closed, it will not be removed from the memory. It is
possible to change the property settings and open it again later.
Syntax
Example
<%
set conn=Server.CreateObject("ADODB.Connection")
conn.Provider="Microsoft.Jet.OLEDB.4.0"
conn.Open "c:/webdata/northwind.mdb"
set rs=Server.CreateObject("ADODB.recordset")
rs.Open "Customers", conn
rs.Close
conn.Close
%>
|
Complete Record Object Reference
 |
|
Get Your Diploma!
W3Schools' Online Certification Program is the perfect solution for busy
professionals who need to balance work, family, and career building.
The HTML Certificate is for developers who want to document their knowledge of HTML, XHTML, and CSS.
The ASP Certificate is for developers who want to document their knowledge of ASP, SQL, and ADO.
|
|