Navigation:  Advantage .NET Data Provider > AdsDataReader Class > AdsDataReader Properties >

AdsDataReader.FieldCount

Advantage .NET Data Provider

Previous pageReturn to chapter overviewNext page

Gets the number of columns contained in the result set.

public int FieldCount { get; }

Remarks

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