This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.

Syntax

C# Copy imageCopy Code
                                  public class DataReader
Visual Basic (Declaration) Copy imageCopy Code
                                  Public Class DataReader

The type exposes the following properties.

Public Properties

  Name Description
Public property BaseDataReader
Returns the underlying reader of the type IDataReader.
Public property CurrentRow
Returns the current row
Public property Depth
Gets a value indicating the depth of nesting for the current row.
Public property FieldCount
Gets the number of columns in the current row.
Public property History
Returns a list containing all the previous rows.
Public property IsClosed
Gets a value indicating whether the data reader is closed.
Public property IsLastRow
Returns true if the current row is the last row
Public property Item Overloaded.
Public property KeepHistory
Returns true if the DataReader keeps a history of read rows.
Public property NextRow
Returns the next row
Public property PreviousRow
Returns the previous row
Public property RecordsAffected
Gets the number of rows changed, inserted, or deleted by execution of the SQL statement.
Public property RowNumber
Returns the row number of the current row (zero based).

See Also

Advanced