System.Data.SqlClient Namespace SqlDataReader Class
Advances the data reader to the next result, when reading the results of batch SQL statements.
[ VB ]
NotOverridable Public Function NextResult ( ) As Boolean
[ C# ]
public bool NextResult ( );
[ C++ ]
public: __sealed bool NextResult ( );
[ JScript ]
public function NextResult ( ) : Boolean
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.
SqlDataReader Members HasMoreResults