SqlCeDataReader.FieldCount Property
Visual Studio 2010
Gets the number of columns in the query's SELECT clause.
Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)
Property Value
Type: System.Int32When not positioned in a valid recordset, 0; otherwise, the number of columns in the current record.
Implements
IDataRecord.FieldCount| Exception | Condition |
|---|---|
| InvalidOperationException |
There is no current connection to a data source. |