Advantage .NET Data Provider
Gets the number of columns contained in the result set.
public int FieldCount { get; }
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.