Executes the CommandText against the ActiveConnection and builds an ADODataReader.
[Visual Basic] Overloads Overridable Public Sub Execute( _ ByRef dataReader As ADODataReader _ ) [C#] public virtual void Execute( ref ADODataReader dataReader ); [C++] public: virtual void Execute( ADODataReader** dataReader ); [JScript] public function Execute( dataReader : ADODataReader );
The caller must call Open method of the ActiveConnection property.
The following example creates an ADOCommand, clones it, executes it, then cancels the execution.
ADOCommand Class | ADOCommand Members | System.Data.ADO Namespace | ADOCommand.Execute Overload List