Firebird ADO.NET Provider SDK Documentation - v1.7

FbDataReader.FieldCount Property

Gets the number of columns in the current row.

[Visual Basic]
NotOverridable Public ReadOnly Property FieldCount As Integer _
    Implements IDataRecord.FieldCount
[C#]
public int FieldCount {get;}

Property Value

When not positioned in a valid recordset, 0; otherwise the number of columns in the current row. The default is -1.

Implements

IDataRecord.FieldCount

Remarks

After executing a query that does not return rows, FieldCount returns 0.

See Also

FbDataReader Class | FirebirdSql.Data.Firebird Namespace