DbDataRecord::FieldCount Property

 

Indicates the number of fields within the current record. This property is read-only.

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)

public:
property int FieldCount {
	virtual int get() abstract;
}

Property Value

Type: System::Int32

The number of fields within the current record.

Exception Condition
NotSupportedException

Not connected to a data source to read from.

.NET Framework
Available since 1.1
Return to top
Show: