FieldCount property

Gets the number of columns in the result set.

 Visual Basic syntax
 C# syntax
 Remarks