Export (0) Print
Expand All

SqlDataReader Properties

The SqlDataReader type exposes the following members.

  Name Description
Protected property Connection Gets the SqlConnection associated with the SqlDataReader.
Public property Depth Gets a value that indicates the depth of nesting for the current row. (Overrides DbDataReader.Depth.)
Public property FieldCount Gets the number of columns in the current row. (Overrides DbDataReader.FieldCount.)
Public property HasRows Gets a value that indicates whether the SqlDataReader contains one or more rows. (Overrides DbDataReader.HasRows.)
Public property IsClosed Retrieves a Boolean value that indicates whether the specified SqlDataReader instance has been closed. (Overrides DbDataReader.IsClosed.)
Public property Item[Int32] Gets the value of the specified column in its native format given the column ordinal. (Overrides DbDataReader.Item.)
Public property Item[String] Gets the value of the specified column in its native format given the column name. (Overrides DbDataReader.Item.)
Public property RecordsAffected Gets the number of rows changed, inserted, or deleted by execution of the Transact-SQL statement. (Overrides DbDataReader.RecordsAffected.)
Public property VisibleFieldCount Gets the number of fields in the SqlDataReader that are not hidden. (Overrides DbDataReader.VisibleFieldCount.)
Top
Show:
© 2014 Microsoft