Contents Index Dispose method GetBoolean method

ASA Programming Guide
  Adaptive Server Anywhere .NET Data Provider API Reference
    AsaDataReader class

FieldCount property


Description 

The number of columns in the result set.

Syntax 

int FieldCount

Access 

Read-only

Property Value 

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

Implements 

IDataRecord.FieldCount

Usage 

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


Contents Index Dispose method GetBoolean method