OdbcDataReader.NextResult Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Data.Odbc
Assembly:  System.Data (in System.Data.dll)

public override bool NextResult()

Return Value

Type: System.Boolean

true if there are more result sets; otherwise false.

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

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

.NET Framework
Available since 1.1
Return to top