IDataReader::NextResult Method ()

 

Advances the data reader to the next result, when reading the results of batch SQL statements.

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

bool NextResult()

Return Value

Type: System::Boolean

true if there are more rows; otherwise, false.

Used to process multiple results, which can be obtained by executing batch SQL statements.

By default, the data reader is positioned on the first result.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: