DbDataReader.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 reader to the next result when reading the results of a batch of statements.

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

public abstract bool NextResult()

Return Value

Type: System.Boolean

true if there are more result sets; otherwise false.

This method allows you to process multiple result sets returned when a batch is submitted to the data provider.

Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Return to top