Export (0) Print
Expand All

SqlDataReader Properties

The properties of the SqlDataReader class are listed here. For a complete list of SqlDataReader class members, see the SqlDataReader Members topic.

Public Properties

public propertyDepth

Supported by the .NET Compact Framework.

Gets a value indicating the depth of nesting for the current row.
public propertyFieldCount

Supported by the .NET Compact Framework.

Gets the number of columns in the current row.
public propertyHasRows Gets a value indicating whether the SqlDataReader contains one or more rows.
public propertyIsClosed

Supported by the .NET Compact Framework.

Gets a value indicating whether the data reader is closed.
public propertyItem Overloaded. Gets the value of a column in its native format.

In C#, this property is the indexer for the SqlDataReader class.

public propertyRecordsAffected

Supported by the .NET Compact Framework.

Gets the number of rows changed, inserted, or deleted by execution of the Transact-SQL statement.

See Also

SqlDataReader Class | System.Data.SqlClient Namespace

Show:
© 2015 Microsoft