Элементы IDataReader

Provides a means of reading one or more forward-only streams of result sets obtained by executing a command at a data source, and is implemented by Reporting Services Data Processing Extensions that access relational databases.

Тип IDataReader предоставляет доступ к следующим элементам.

Методы

  Имя Описание
Открытый метод Dispose (Наследуется из IDisposable.)
Открытый метод GetFieldType Gets the Type information corresponding to the type of object that is returned from GetValue.
Открытый метод GetName Gets the name of the field to find.
Открытый метод GetOrdinal Return the index of the named field.
Открытый метод GetValue Return the value of the specified field.
Открытый метод Read Advances the IDataReader to the next record.

В начало

Свойства

  Имя Описание
Открытое свойство FieldCount Gets the number of fields in the data reader.

В начало