Editja

OdbcDataReader.NextResult Method

Definition

Advances the OdbcDataReader to the next result when reading the results of batch SQL statements.

public:
 override bool NextResult();
public override bool NextResult();
override this.NextResult : unit -> bool
Public Overrides Function NextResult () As Boolean

Returns

true if there are more result sets; otherwise false.

Remarks

Used to process multiple results that can be generated by executing batch SQL statements.

By default, the OdbcDataReader is positioned on the first result.

Applies to

See also