DBResultSet.FetchSize Method

Returns the length of a field's data in the current row of a result set. This only needs to be called for strings to determine how many bytes to use. Note that the return value does not include the null terminator.

int FetchSize(int field)


int field

The field index (starting from 0).

Return Value

Number of bytes for the field's data size.


Invalid field index or no current result set.