Export (0) Print
Expand All

IDataReader.NextResult Method

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

[Visual Basic]
Function NextResult() As Boolean
[C#]
bool NextResult();
[C++]
bool NextResult();
[JScript]
function NextResult() : Boolean;

Return Value

true if there are more rows; otherwise, false.

Remarks

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.

Requirements

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

See Also

IDataReader Interface | IDataReader Members | System.Data Namespace

Show:
© 2014 Microsoft