Previous in Contents Next in Contents

Datasource.ExecuteADO Method

Note  The Datasource object is included in Commerce Server 3.0 solely for backward compatibility with sites created in Commerce Server 2.0. New sites should be constructed using ADOs.

The ExecuteADO method executes the specified query on an open ADO connection and returns the results of the query, if any, in an ADO Recordset object.

Syntax

Datasource.ExecuteADO(Connection, SQL, Parameters)

Parameters

Connection
An open ADO connection. The caller creates this connection by using the ASP Server object's CreateObject method, specifying ADO.Connection as the programmatic identifier, and then by using the Connection's Open method to open a DSN.
SQL
The string resource identifier of a query added to a Content object through a previous call to AddQuery, or the SQL text of the query.
Parameters
One or more parameters to bind to the parameter markers in SQL.

Related Topics


© 1997-2000 Microsoft Corporation. All rights reserved.