dotConnect for SugarCRM Documentation
Devart.Common Namespace / DbDataReaderBase Class / FieldCount Property

In This Topic
FieldCount Property (DbDataReaderBase)
In This Topic
Gets the number of columns in the current row.
Syntax
'Declaration
 
Public Overrides ReadOnly Property FieldCount As Integer
 

Property Value

When not positioned in a valid record set, 0; otherwise the number of columns in the current record. The default value is -1.
Remarks
After executing a query that does not return rows, FieldCount returns 0.
See Also