Open this page in the API Guide

Reader.FieldValueOrDefault<T> 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 (25.1.0.1000)
Syntax
public T FieldValueOrDefault<T>(
	int columnIndex
)

Parameters

columnIndex
Type: System.Int32
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