DataSource - property of the AdoRecordset object
Description:
Specifies an object containing data to be represented as a the
AdoRecordset object.
This property is used to create data-bound controls with the Data Environment. The Data Environment maintains collections of data (data sources) containing named objects (data members) that will be represented as the
AdoRecordset object.
Syntax:
String DataSource
Note:
Property access for write only.
Example:
JavaScriptVBScriptSelect and copy to clipboard
oRs.DataMember = "Command";
// Name of the rowset to bind to
oRs.DataSource = "MyDm";
// Name of the object containing an IRowset
oRs.DataMember = "Command"
' Name of the rowset to bind to
oRs.DataSource = "MyDm"
' Name of the object containing an IRowset