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.

SqlDataReader::NextResult Method ()

 

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

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

public:
virtual bool NextResult() override

Return Value

Type: System::Boolean

true if there are more result sets; otherwise false.

Used to process multiple results, which can be generated by executing batch Transact-SQL statements.

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

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft