DbDataRecord.FieldCount Property    
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates the number of fields within the current record. This property is read-only.
public:
 abstract property int FieldCount { int get(); };public:
 property int FieldCount { int get(); };public abstract int FieldCount { get; }public int FieldCount { get; }member this.FieldCount : intPublic MustOverride ReadOnly Property FieldCount As IntegerPublic ReadOnly Property FieldCount As IntegerProperty Value
The number of fields within the current record.
Implements
Exceptions
Not connected to a data source to read from.