SqlDataReader Properties

SqlDataReader Properties

 

Namespace:   System.Data.SqlClient
Assembly:  System.Data (in System.Data.dll)

NameDescription
System_CAPS_protpropertyConnection

Gets the SqlConnection associated with the SqlDataReader.

System_CAPS_pubpropertyDepth

Gets a value that indicates the depth of nesting for the current row.(Overrides DbDataReader.Depth.)

System_CAPS_pubpropertyFieldCount

Gets the number of columns in the current row.(Overrides DbDataReader.FieldCount.)

System_CAPS_pubpropertyHasRows

Gets a value that indicates whether the SqlDataReader contains one or more rows.(Overrides DbDataReader.HasRows.)

System_CAPS_pubpropertyIsClosed

Retrieves a Boolean value that indicates whether the specified SqlDataReader instance has been closed. (Overrides DbDataReader.IsClosed.)

System_CAPS_pubpropertyItem[Int32]

Gets the value of the specified column in its native format given the column ordinal.(Overrides DbDataReader.Item[Int32].)

System_CAPS_pubpropertyItem[String]

Gets the value of the specified column in its native format given the column name.(Overrides DbDataReader.Item[String].)

System_CAPS_pubpropertyRecordsAffected

Gets the number of rows changed, inserted, or deleted by execution of the Transact-SQL statement.(Overrides DbDataReader.RecordsAffected.)

System_CAPS_pubpropertyVisibleFieldCount

Gets the number of fields in the SqlDataReader that are not hidden. (Overrides DbDataReader.VisibleFieldCount.)

Return to top
Show:
© 2016 Microsoft