wwBusiness.ExecuteReader

Executes a Sql command and returns a DataReader object.

Data Readers read data in stream format, so the connection is kept open while reading! It's important you call Reader.Close() to close the connection!

public IDataReader ExecuteReader( IDbCommand SqlCommand,
	IDbDataParameter[] Parameters );

Return Value

IDataReader or null

Parameters

SqlCommand
A Sql Command object

Parameters
Any SQL Parameters created with wwBusiness.CreateParameter.

Overloads:

public IDataReader ExecuteReader( string SqlCommand, IDbDataParameter[] Parameters );

See also:

Class wwBusiness


 Last Updated: 3/7/2007 | Send topic feedback