NextResult Method

DbDataReader.NextResult Method ()


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
© 2015 Microsoft