ReaderFieldValueOrDefaultT Method

Gets the field value or default(), if the value is DBNull.

Namespace:  Dundas.BI.Data.DataProviders
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax
public T FieldValueOrDefault<T>(
	int columnIndex
)

Parameters

columnIndex
Type: SystemInt32
Column index.

Type Parameters

T
The type of the value to be returned.

Return Value

Type: T
The field value or default(), if the value is DBNull.
See Also