Mimer SQL Data Provider
ExecuteReader() Method




Mimer.Data.Client Namespace > MimerCommand Class > ExecuteReader Method : ExecuteReader() Method
Executes the CommandText by the server at the specified Connection and returns a MimerDataReader.
Syntax
'Declaration
 
Public Overloads Shadows Function ExecuteReader() As MimerDataReader
public new MimerDataReader ExecuteReader()
public function ExecuteReader(): MimerDataReader; 
public hide function ExecuteReader() : MimerDataReader;
public: new MimerDataReader* ExecuteReader(); 

Return Value

The created MimerDataReader object.
Exceptions
ExceptionDescription
The Connection is not Open or statement is being used after Leave Retain.
A database server error occurred while executing the statement.
The data value of a parameter value was too large or too small to be converted to the database type.
The format of the value of one of the Parameters was invalid, or the application data type can not be converted to the target database type.
Remarks
This statement is typically used when the result of the SQL statement is a result set. However, any type of statement can be processed with the MimerDataReader. The FieldCount property returns a non-zero value for a result set and zero otherwise.
Requirements

.NET Framework
Version 2.0 or later

See Also

Reference

MimerCommand Class
MimerCommand Members
Overload List