Home News DOC Class DL Others Rice
Class  >  dbreader
dbreader class

Description

Provides the function to read data from SQL statement execution results.

Notes

It is a class that is statically included in the Cooker.

An instance returned by variable declaration has not been initialized.

An instance that is used up should be released. Please do not forget to call Release() method.

fitter

SignatureDescription
dbreader()

Returns a new instance of dbreader class.

getter

SignatureDescription
FieldCount

Returns the number of columns in the result set.

Fitted

Returns a value that indicates whether this instance was initialized.

HasRows

Returns a value that indicates whether the result of command execution exists.

TypeName

Returns the type name.

setter

This class does not have a setter.

method

SignatureDescription
FieldType(int)

Returns the type of the specified column.

FieldType(string)

Returns the type of the specified column.

Get(int)

Returns the value of the specified column.

Get(string)

Returns the value of the specified column.

IsDBNull(int)

Returns a value that indicates whether the value is null.

IsDBNull(string)

Returns a value that indicates whether the value is null.

Name(int)

Returns the name of the column.

Ordinal(string)

Returns the column number.

Read()

Reads the next line from the result set.

Release()

Releases unmanaged resources.

TrimDQ(string)

Returns a new string with double quotes removed.

Copyright © Rice All rights reserved.