Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft