DBResultSet.IsFieldNull Method

Returns whether a field's data in the current row of a result set is NULL or not. NULL is an SQL type which means "no data."

bool IsFieldNull(int field)


int field

The field index (starting from 0).

Return Value

True if data is NULL, false otherwise.


Invalid field index, or no current result set.