This documentation is archived and is not being maintained.

OdbcDataReader.NextResult Method

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

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

[Visual Basic]
Public Overridable Function NextResult() As Boolean Implements _
   IDataReader.NextResult
[C#]
public virtual bool NextResult();
[C++]
public: virtual bool NextResult();
[JScript]
public function NextResult() : Boolean;

Return Value

true if there are more result sets; otherwise, false.

Implements

IDataReader.NextResult

Remarks

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

By default, the OdbcDataReader is positioned on the first result.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

OdbcDataReader Class | OdbcDataReader Members | System.Data.Odbc Namespace

Show: